Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
shorten name and improve bulk edit tile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Dec 18, 2015
1 parent 8f7f6af commit 516e85d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion app/assets/stylesheets/components/bulk_label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@
@extend .col-xs-12;
}
.order-title {
width: 100%;
width: 85%;
}
.order-filename {
width: 100%;
}
.file-set-link {
padding-right: 15px;
}
}
li {
@extend .col-xs-12;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<div class="order-title">
<%= f.input :title, as: :string, input_html: { name: "file_set[title][]" }, value: node.to_s, label: false %>
</div>
<div class="order-filename">
<em>(<%= node.file_label %>)</em>
</div>
<div class="file-set-link">
<div class="file-set-link pull-right">
<%= link_to polymorphic_path([main_app, node]), title: "Edit file" do %>
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
<% end %>
</div>
<div class="order-filename">
<em title="<%= node.file_label %>">(<%= truncate(node.file_label, length: 29) %>)</em>
</div>
</div>
<div class="panel-body">
<div class="text-center thumbnail">
Expand Down

0 comments on commit 516e85d

Please sign in to comment.