</div>
<div class="modal-foot">
<button id="create-custom-measure-submit" {{#unless canCreateMetric}}disabled{{/unless}}>
- {{#if id}}{{t 'update_verb'}}{{else}}{{t 'create_verb'}}{{/if}}
+ {{#if id}}{{t 'update_verb'}}{{else}}{{t 'create'}}{{/if}}
</button>
<a href="#" class="js-modal-close" id="create-custom-measure-cancel">{{t 'cancel'}}</a>
</div>
<div class="js-modal-messages"></div>
<div class="modal-field">
<label for="create-metric-key">{{t 'key'}}<em class="mandatory">*</em></label>
- <input id="create-metric-key" name="key" type="text" maxlength="200" required value="{{key}}">
+ <input id="create-metric-key" name="key" type="text" maxlength="64" required value="{{key}}">
</div>
<div class="modal-field">
<label for="create-metric-name">{{t 'name'}}<em class="mandatory">*</em></label>
- <input id="create-metric-name" name="name" type="text" maxlength="200" required value="{{name}}">
+ <input id="create-metric-name" name="name" type="text" maxlength="64" required value="{{name}}">
</div>
<div class="modal-field">
<label for="create-metric-description">{{t 'description'}}</label>
- <textarea id="create-metric-description" name="description">{{description}}</textarea>
+ <textarea id="create-metric-description" maxlength="255" name="description">{{description}}</textarea>
</div>
<div class="modal-field">
<label for="create-metric-domain">{{t 'custom_metrics.domain'}}</label>
<div class="display-inline-block text-top width-30">
<div>
- <strong class="js-metric-name">{{name}}</strong>
- <span class="js-metric-key note little-spacer-left">{{key}}</span>
+ <strong class="js-metric-name text-limited">{{name}}</strong>
+ <span class="js-metric-key note little-spacer-left text-limited">{{key}}</span>
</div>
</div>
-<div class="display-inline-block text-top width-20">
+<div class="display-inline-block text-top width-20 text-ellipsis">
<span class="js-metric-domain">{{this.domain}}</span>
</div>
-<div class="display-inline-block text-top width-20">
+<div class="display-inline-block text-top width-20 text-ellipsis">
<span class="js-metric-type">{{t 'metric.type' type}}</span>
</div>
-<div class="display-inline-block text-top width-20">
+<div class="display-inline-block text-top width-20 text-ellipsis" title="{{description}}">
<span class="js-metric-description">{{description}}</span>
</div>