app/views/dhatu/branches/_index.html.erb in dhatu-0.1.19 vs app/views/dhatu/branches/_index.html.erb in dhatu-0.1.20

- old
+ new

@@ -1,37 +1,33 @@ <div class="table-responsive"> <table class="table table-hover members-table middle-align"> <thead> <tr> - <th style="text-align: center;width:5%">#</th> + <th style="text-align: center;width:5%" class="hidden-sm hidden-xs">#</th> <th>Title</th> - <th style="width:100px;" class="hidden-sm hidden-xs">Featured</th> - <th style="width:100px;" class="hidden-sm hidden-xs">Status</th> <% if display_manage_links? %> <th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs">Actions</th> <% end %> </tr> </thead> <tbody> <tr id="tr_branch_0"></tr> <% @branches.each_with_index do |branch, i| %> <tr id="tr_branch_<%= branch.id %>"> - <th scope="row" style="text-align: center;"> + <th scope="row" style="text-align: center;" class="hidden-sm hidden-xs"> <%= serial_number(i) %> </th> <td class="display-link"> - <%= link_to branch.title, branch_path(branch), remote: true %><br> - <%= content_tag(:span, "Main Branch", class: "label label-success") if branch.main_branch? %><br> - <%= branch.display_address %> + <%= link_to branch.title, branch_path(branch), remote: true, style: "color: chocolate;font-size:16px;" %> + <%= content_tag(:span, raw("<i class='fa fa-star ml-10' style='color:#ffba00'></i> (Main Branch)")) if branch.main_branch? %><br> + <%= branch.display_address %><br> + <%= display_publishable_status(branch) %> + <%= display_featured(branch) %> </td> - <td class="hidden-sm hidden-xs"><%= display_featured(branch) %></td> - - <td class="hidden-sm hidden-xs"><%= display_publishable_status(branch) %></td> - - <td class="action-links hidden-sm hidden-xs" style="width:10%"> + <td class="action-links hidden-sm hidden-xs" style="width:10%"> <%= display_publishable_links(branch) %> </td> <% if display_manage_links? %> <td class="action-links hidden-sm hidden-xs" style="width:10%">