) ->
class CodingRulesCustomRuleCreationView extends Marionette.ItemView
- className: 'modal'
+ className: 'modal coding-rules-modal'
template: Templates['coding-rules-custom-rule-creation']
) ->
class CodingRulesQualityProfileActivationView extends Marionette.ItemView
- className: 'modal'
+ className: 'modal coding-rules-modal'
template: Templates['coding-rules-quality-profile-activation']
<th><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
<td>
{{#if change}}
- {{key}}
+ <span class="coding-rules-detail-custom-rule-key" title="{{key}}">{{key}}</span>
{{else}}
<input type="text" name="key" id="coding-rules-custom-rule-creation-key"
class="coding-rules-name-key" value="{{internalKey}}"/>
font-weight: bold;
}
+.coding-rules-detail-custom-rule-key {
+ display:inline-block;
+ max-width: 460px;
+ whitespace: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.coding-rules-modal .property {
+ input, textarea {
+ width: 100%;
+ }
+}
+
.coding-rules-subcharacteristic-more {
display: none;
}