app/views/roroacms/admin/administrators/index.html.erb in roroacms-0.0.6.9 vs app/views/roroacms/admin/administrators/index.html.erb in roroacms-0.0.7

- old
+ new

@@ -1,60 +1,60 @@ -<div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title">&nbsp;</h3> - <div class="actions pull-right"> - <i class="fa fa-chevron-down"></i> - </div> - </div> - <div class="panel-body"> - <%= render partial: 'roroacms/admin/partials/table_header', locals: {path: new_admin_administrator_path, name: t("generic.add_new_user"), id: 'add_new_user'} %> - <table id="dtable" class="table table-hover " cellspacing="0" width="100%"> - <thead> - <tr> - <th>&nbsp;</th> - <th><%= t("views.admin.administrators.index.username") %></th> - <th class="hidden-xs"><%= t("views.admin.administrators.index.email_address") %></th> - <th>&nbsp;</th> - </tr> - </thead> - - <tbody> - <% @admins.each do |admin| %> - <tr class="<%= cycle('list_line_odd', 'list_line_even') %>"> - <td> - <% if admin.avatar.blank? %> - <%= image_tag 'roroacms/default-profile.jpg', height: '35', width: '35', class: "img-circle hidden-xs" %> - <% else %> - <img src="<%= admin.avatar %>" class="img-circle hidden-xs" width="35" height="35">&nbsp; - <% end %> - </td> - <td> - <%= admin.username %> - </td> - <td class="hidden-xs"><%= admin.email %></td> - <td class="center"> - <% if admin.overlord != 'Y' || (admin.id.to_i == session[:admin_id].to_i) %> - <div class="btn-group pull-right"> - <%= link_to edit_admin_administrator_path(admin), :class => 'btn btn-default btn-xs' do %> - <i class="fa fa-pencil"></i> - <% end %> - <% if admin.overlord != 'Y' %> - <%= link_to admin_administrator_path(admin), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-danger btn-xs' do %> - <i class="fa fa-trash-o"></i> - <% end %> - <% end %> - </div> - <% end %> - </td> - </tr> - <% end %> - </tbody> - </table> - <hr> - <div id="paginationWrapper"></div> - - </div> - </div> - </div> +<div class="row"> + <div class="col-md-12"> + <div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title">&nbsp;</h3> + <div class="actions pull-right"> + <i class="fa fa-chevron-down"></i> + </div> + </div> + <div class="panel-body"> + <%= render partial: 'roroacms/admin/partials/table_header', locals: {path: new_admin_administrator_path, name: t("generic.add_new_user"), id: 'add_new_user'} %> + <table id="dtable" class="table table-hover " cellspacing="0" width="100%"> + <thead> + <tr> + <th>&nbsp;</th> + <th><%= t("views.admin.administrators.index.username") %></th> + <th class="hidden-xs"><%= t("views.admin.administrators.index.email_address") %></th> + <th>&nbsp;</th> + </tr> + </thead> + + <tbody> + <% @admins.each do |admin| %> + <tr class="<%= cycle('list_line_odd', 'list_line_even') %>"> + <td> + <% if admin.avatar.blank? %> + <%= image_tag 'roroacms/default-profile.jpg', height: '35', width: '35', class: "img-circle hidden-xs" %> + <% else %> + <img src="<%= admin.avatar %>" class="img-circle hidden-xs" width="35" height="35">&nbsp; + <% end %> + </td> + <td> + <%= admin.username %> + </td> + <td class="hidden-xs"><%= admin.email %></td> + <td class="center"> + <% if admin.overlord != 'Y' || (admin.id.to_i == session[:admin_id].to_i) %> + <div class="btn-group pull-right"> + <%= link_to edit_admin_administrator_path(admin), :class => 'btn btn-default btn-xs' do %> + <i class="fa fa-pencil"></i> + <% end %> + <% if admin.overlord != 'Y' %> + <%= link_to admin_administrator_path(admin), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-danger btn-xs' do %> + <i class="fa fa-trash-o"></i> + <% end %> + <% end %> + </div> + <% end %> + </td> + </tr> + <% end %> + </tbody> + </table> + <hr> + <div id="paginationWrapper"></div> + + </div> + </div> + </div> </div> \ No newline at end of file