Skip to content

Commit

Permalink
Fix coloring on post status indicator when on detail page
Browse files Browse the repository at this point in the history
Add yellow class when post is under review
  • Loading branch information
rjmackay committed Nov 8, 2016
1 parent c95f021 commit afa651b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/posts/detail/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="mode-context-title">{{form.name || 'post.unstructured.survey_title' |
<div class="post-band" style="background-color: {{form.color}};"></div>

<div class="listing-item-select">
<span class="status-indicator empty tooltip">
<span class="status-indicator tooltip" ng-class="{ empty: post.status!='draft', yellow: post.status=='draft'}">
<svg class="iconic">
<use xlink:href="../../img/iconic-sprite.svg#globe" ng-if="post.status=='published'"></use>
<use xlink:href="../../img/iconic-sprite.svg#lock-locked" ng-if="post.status=='draft'"></use>
Expand Down

0 comments on commit afa651b

Please sign in to comment.