Skip to content

Commit

Permalink
feat(generators/app/templates): add revision (commit) to environment …
Browse files Browse the repository at this point in the history
…ribbon
  • Loading branch information
cueedee committed Oct 17, 2017
1 parent 066ecad commit a24c9ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@ $testing_gradientLow: #ABA02C

margin-top: 2px


.build-revision

display: inline-block
margin-left: 18%
width: 7.5em
overflow: hidden
white-space: nowrap
text-overflow: ellipsis


+ribbon-colors( $default_textColor, $default_gradientHigh, $default_gradientLow )

&.env-acceptance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div class="ribbon env-{{settings.environment}}">
<span class="build-revision">{{buildBrief.revision}}</span>
<br>
{{#if buildBrief.buildNumber}}<span class="build-number">{{buildBrief.buildNumber}}</span> / {{/if}} <span class="build-timestamp">{{moment buildBrief.timestamp "MMM DD HH:mm"}}</span>
<br>
<span class="target-environment">{{settings.environment}}</span>
Expand Down

0 comments on commit a24c9ad

Please sign in to comment.