Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="post-attributes-collapsible-container issue-collapsible-container collapse text-left inline-block" ng-show="issue.showPostAttributes">
- <div class="issueAttributesSpinner" ng-show="issue.loadingAttributes">
- <div class="postpone-form-content-overlay default-height">
- <div class="vertically-centered-floating-content text-center">
- <div class="postpone-spinner spinner-container spinner-small noselect">
- <div class="postpone-spinner-content spinner"></div>
- <p class="postpone-spinner-content text" translate="common.loading"></p>
- </div>
- </div>
- </div>
- </div>
- <div class="issue-postpone-container row" ng-if="!issue.loadingAttributes">
- <div class="text-center col-xs-12 dark-heading">
- <form class="form-horizontal" novalidate>
- <div class="form-group">
- <label class="col-sm-2 control-label">Relevancy</label>
- <div class="col-sm-10">
- <div class="dropdown">
- <button class="btn btn-primary dropdown-toggle full-width" type="button" id="relevancyDropdown" data-toggle="dropdown">
- Relevancy: {{RelevancyDisplayText}} <span class="caret"></span></button>
- <ul class="dropdown-menu full-width" aria-labelledby="relevancyDropdown">
- <li><a ng-click="EnableIssueBrandCountry(); ClearFields(); RelevancyTrue()">Relevant</a></li>
- <li><a ng-click="EnableReason(); ClearFields(); RelevancyFalse()">Not Relevant</a></li>
- </ul>
- </div>
- </div>
- </div>
- <hr>
- <div class="form-group">
- <label class="col-sm-2 control-label">Reason</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Reason.selectedValue"
- ng-options="value for value in attr.Reason.values" ng-disabled="PA || Reason">
- <option class="no-display" disabled selected value></option>
- </select>
- </div>
- </div>
- <hr>
- <div class="form-group">
- <label class="col-sm-2 control-label">Issue Level</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr['Issue Level'].selectedValue"
- ng-options="value for value in attr['Issue Level'].values" ng-disabled="PA || IssueBrandCountry">
- <option class="no-display" disabled selected value></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Brand</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Brand.selectedValue"
- ng-options="value for value in attr.Brand.values" ng-disabled="PA || IssueBrandCountry">
- <option class="no-display" disabled selected value></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Country</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Country.selectedValue"
- ng-options="value for value in attr.Country.values" ng-disabled="PA || IssueBrandCountry">
- <option class="no-display" disabled selected value></option>
- </select>
- </div>
- </div>
- <hr>
- <div class="form-group">
- <label class="col-sm-2 control-label">Language</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Language.selectedValue"
- ng-options="value for value in attr.Language.values" ng-disabled="PA || Optionals">
- <option value=""></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Category</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Category.selectedValue"
- ng-options="value for value in attr.Category.values" ng-disabled="PA || Optionals">
- <option value=""></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Sub-Category</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr['Sub-Category'].selectedValue"
- ng-options="value for value in attr['Sub-Category'].values" ng-disabled="PA || Optionals">
- <option value=""></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Tonality</label>
- <div class="col-sm-10">
- <select name="reason" class="form-control" ng-model="attr.Tonality.selectedValue"
- ng-options="value for value in attr.Tonality.values" ng-disabled="PA || Optionals">
- <option value=""></option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">Comment</label>
- <div class="col-sm-10">
- <textarea name="comment" class="form-control no-resize" maxlength="1500" rows="4" ng-disabled="PA || Optionals" ng-model="formData.comment">
- </textarea>
- </div>
- </div>
- <input type="button" class="btn btn-default pull-right" value="Save" ng-disabled="
- ((!attr['Issue Level'].selectedValue
- || attr['Issue Level'].selectedValue.length == 0
- || !attr.Brand.selectedValue
- || attr.Brand.selectedValue.length == 0
- || !attr.Country.selectedValue
- || attr.Country.selectedValue.length == 0)
- &&(Reason === true))
- || ((!attr.Reason.selectedValue
- || attr.Reason.selectedValue.length == 0)
- &&(IssueBrandCountry === true))"
- ng-click="sendForm()">
- </form>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement