Skip to content

Commit

Permalink
Merge pull request #78 from iguchi1124/fix-iconfont
Browse files Browse the repository at this point in the history
Fix icon font displaying bug
  • Loading branch information
eisuke authored Jul 19, 2017
2 parents 9959be8 + 669100c commit 77cf582
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/views/kuroko2/users/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
- content_for :title, 'Users' + (params[:target] == 'group' ? ' > Groups' : '')
- content_for :title do
- if params[:target] == 'group'
| Users > Groups
- else
| Users

- content_for :content_title do
<i class="fa fa-users"></i> Users#{params[:target] == 'group' ? ' <i class="fa fa-angle-double-right"></i> Groups' : ''}
- if params[:target] == 'group'
| <i class="fa fa-users"></i> Users
<i class="fa fa-angle-double-right"></i> Groups
- else
| <i class="fa fa-users"></i> Users

- @scope = @users

- if @user.errors.any?
Expand Down

0 comments on commit 77cf582

Please sign in to comment.