Skip to content

Commit

Permalink
Add new icon to the settlement tab
Browse files Browse the repository at this point in the history
  • Loading branch information
kyungmin committed Jan 22, 2015
1 parent 63adaa3 commit 49c121b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/styles/scaffolding.less
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ hr {
padding: 1px 8px 0;
margin-top: 3px;
.border-radius(15px);

&.new {
background-color: @curryYellow60;
font-size: 10px;
text-transform: uppercase;
}
}

.payments-navbar {
Expand Down
2 changes: 1 addition & 1 deletion app/templates/sidebar/basic-link-sidebar-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span>{{view.linkText}}</span>

{{#if view.alertCount}}
<div class="alert-count">{{view.alertCount}}</div>
<div {{bind-attr class=":alert-count view.alertCount"}}>{{view.alertCount}}</div>
{{/if}}
{{/link-to}}

Expand Down
1 change: 1 addition & 0 deletions app/views/sidebar/marketplace-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var SIDEBAR_ITEMS = [{
linkIcon: "icon-settlements",
routeName: "marketplace.settlements",
isSelectedBinding: "controller.controllers.marketplace.settlementSelected",
alertCount: "new",
}, {
linkText: "Disputes",
linkIcon: "icon-disputes",
Expand Down

0 comments on commit 49c121b

Please sign in to comment.