Project

General

Profile

« Previous | Next » 

Revision e89c43a7

Added by Justin Sherrill about 10 years ago

promotion page improvements

  • disable button if none selected or once clicked
  • add breadcrumb
  • change title a bit
  • highlight version tab on promotion

View differences:

engines/bastion/app/assets/javascripts/bastion/content-views/details/views/content-view-promotion.html
<div>
<h3 translate>Promote to Next Environment</h3>
<a ui-sref="content-views.details.versions({contentViewId: contentView.id})" >
<i class="icon-backward"></i>
{{ "Back to Version List" | translate }}
</a>
<h3 translate>Promote Version {{ version.version }}</h3>
<p class="details" translate>
Choose one or more lifecycle environments from the existing promotion paths
......
enabled-check="enabledCheck(item)"></div>
<div>
<button class="btn btn-primary btn-lg" ng-click="promote()" translate>
<button class="btn btn-primary btn-lg" ng-disabled="promoting || !selectedEnvironment" ng-click="promote()" translate>
Promote Version
</button>

Also available in: Unified diff