Admin interface #6

Merged
ignisf merged 23 commits from admin-interface into master 2014-10-06 12:33:26 +03:00
4 changed files with 9 additions and 5 deletions
Showing only changes of commit a95babec22 - Show all commits

View File

@ -21,9 +21,9 @@ html
.navbar-collapse.collapse
ul.nav.navbar-nav
li class="#{'active' if controller_name == 'home'}"
= link_to 'Home', management_path
= link_to t(:home), management_path
li class="#{'active' if controller_name == 'users'}"
= link_to 'Users', management_users_path
= link_to User.model_name.human(count: 2), management_users_path
div.container
== yield
= javascript_include_tag "management/application"

View File

@ -11,7 +11,7 @@ tr id="user-#{user.id}"
= link_to glyph(:unchecked), toggle_admin_management_user_path(user), remote: true, method: :post, data: {confirm: t(:are_you_sure)}, class: 'unchecked'
td
.actions
= link_to management_user_path(user), title: t(:edit)
= link_to management_user_path(user), title: t(:view)
= glyph(:share)
= link_to edit_management_user_path(user), title: t(:edit)
= glyph(:edit)

View File

@ -1,2 +1,4 @@
bg:
are_you_sure: Сигурен ли си?
are_you_sure: Сигурен ли си?
view: Преглед
home: Начало

View File

@ -1,2 +1,4 @@
en:
are_you_sure: Are you sure?
are_you_sure: Are you sure?
view: View
home: Home