diff --git a/app/assets/stylesheets/content/_table.sass b/app/assets/stylesheets/content/_table.sass index 99a6b1353b..e4aca168e2 100644 --- a/app/assets/stylesheets/content/_table.sass +++ b/app/assets/stylesheets/content/_table.sass @@ -155,6 +155,9 @@ table.generic-table text-decoration: none color: $body-font-color + &.buttons + text-align: right + p padding: 0 8px margin: 0 @@ -169,7 +172,7 @@ table.generic-table .generic-table--sort-header-outer position: absolute top: 0 - padding: 0 8px + padding: 0 6px line-height: $generic-table--header-height overflow: hidden z-index: 1 diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index 84097f995c..0572a126c3 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -81,44 +81,86 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> -
<%= Project.model_name.human %> | -<%= Project.human_attribute_name(:is_public) %> | -<%= l(:label_required_disk_storage) %> | -<%= Project.human_attribute_name(:created_on) %> | -- | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= link_to project, settings_project_path(project), :title => project.short_description %> | -<%= checked_image project.is_public? %> | -<%= render partial: '/storage/required_storage', - locals: { storage: project.required_storage} %> | -<%= format_date(project.created_on) %> | -- <%= link_to(l(:button_archive), - archive_project_path(project, :status => params[:status]), - :confirm => l(:text_are_you_sure), - :method => :put, - :class => 'icon icon-locked') if project.active? %> - <%= link_to(l(:button_unarchive), - unarchive_project_path(project, :status => params[:status]), - :method => :put, - :class => 'icon icon-unlocked') if !project.active? && (project.parent.nil? || project.parent.active?) %> - <%= link_to(l(:button_copy), - copy_from_project_path(project, :admin), - :class => 'icon icon-copy') %> - <%= link_to(l(:button_delete), - confirm_destroy_project_path(project), - :class => 'icon icon-delete') %> - | +
+
+
+
+
+ <%= Project.model_name.human %>
+
+
+ |
+
+
+
+
+
+ <%= Project.human_attribute_name(:is_public) %>
+
+
+ |
+
+
+
+
+
+ <%= l(:label_required_disk_storage) %>
+
+
+ |
+
+
+
+
+
+ <%= Project.human_attribute_name(:created_on) %>
+
+
+ |
+
---|