Skip to content

Commit

Permalink
Merge pull request #614 from thusithak/release-2.0.0
Browse files Browse the repository at this point in the history
fix for store action bar - adding icons and bar layout fix
  • Loading branch information
dhanuka84 committed Jun 5, 2015
2 parents 6086fe0 + c298e01 commit d17ef1a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,32 +323,32 @@ asset.renderer = function(ctx) {
}, populateApiActionBar: function(page,meta){
var action = {};
action.url = '/asts/api/list';
action.iconClass ='ast-create';
action.iconClass ='fa-cogs';
action.name ='APIs';
page.actionBar.actions.push(action);
action = {};
action.url = '/asts/api/prototyped_apis';
action.iconClass ='ast-create';
action.iconClass ='fa-cog';
action.name ='Prototyped APIs';
page.actionBar.actions.push(action);
action = {};
action.url = '/asts/api/my_applications';
action.iconClass ='ast-create';
action.iconClass ='fa-briefcase';
action.name ='My Applications';
page.actionBar.actions.push(action);
action = {};
action.url = '/asts/api/my_subscriptions';
action.iconClass ='ast-create';
action.iconClass ='fa-tags';
action.name ='My Subscriptions';
page.actionBar.actions.push(action);
action = {};
action.url = '/asts/api/forum';
action.iconClass ='ast-create';
action.iconClass ='fa-comment-o';
action.name ='Forum';
page.actionBar.actions.push(action);
action = {};
action.url = '/asts/api/statistics';
action.iconClass ='ast-create';
action.iconClass ='fa-line-chart';
action.name ='Statistics';
page.actionBar.actions.push(action);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{#if actionBar}}
<div class="wr-action-btn-bar">
<ul class="nav navbar-nav">
{{#each actionBar.actions}}
<li>
<a href='{{url ""}}{{this.url}}' id="{{this.id}}">
<li class="action-wrapper">
<div class="action-img-icon">{{this.iconClass}}</div>
<label class="action-title">{{this.name}}<label>
</li>
</a>
</li>
{{/each}}
</ul>
</div>
{{/if}}

0 comments on commit d17ef1a

Please sign in to comment.