Added edit image instead of text for Deliverable actions
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<%= content_tag(:td, number_to_currency(deliverable.spent, :precision => 0), :class => 'spent') if allowed_management? %>
|
||||
<%= content_tag(:td, format_date(deliverable.due), :class => 'due_date') %>
|
||||
<%= content_tag(:td, progress_bar(deliverable.progress, :width => '100%', :class => 'dont_ratio')) %>
|
||||
<%= content_tag(:td, link_to_function("Details", "$('deliverable-details-#{deliverable.id}').toggle();"), :class => 'actions') %>
|
||||
<%= content_tag(:td, link_to_function(image_tag("edit.png"), "$('deliverable-details-#{deliverable.id}').toggle();"), :class => 'actions') %>
|
||||
</tr>
|
||||
<tr id="deliverable-details-<%= deliverable.id %>" class="deliverable deliverable-details <%= css %>" style="display:none;">
|
||||
<td class="deliverable-actions">
|
||||
@@ -18,7 +18,7 @@
|
||||
<div>
|
||||
<% form_for :deliverable, deliverable, :url => { :action => "bulk_assign_issues", :id => @project.id, :deliverable_id => deliverable.id} do |f| %>
|
||||
|
||||
<%= select("version", "id", @project.versions.sort.collect {|v| [v.name, v.id ] }, { :include_blank => true }) %><br />
|
||||
<%= select("version", "id", @project.versions.sort.collect {|v| [v.name, v.id ] }, { :prompt => '-- Version --' }) %><br />
|
||||
<%= submit_tag("Bulk Assign") %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<%= sort_header_tag("spent", :caption => 'Spent') if allowed_management? %>
|
||||
<%= sort_header_tag("#{Deliverable.table_name}.due", :caption => 'Due') %>
|
||||
<%= sort_header_tag("progress", :caption => 'Progress') %>
|
||||
<%= content_tag('th', "Actions") %>
|
||||
<%= content_tag('th', " ") %>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<% deliverables.each do |deliverable| -%>
|
||||
|
||||
@@ -15,7 +15,7 @@ tr.deliverable-details { border-top: 1px solid #BBBBBB; }
|
||||
tr.deliverable-details td { padding-bottom: 50px ; }
|
||||
|
||||
|
||||
td.deliverable-actions { padding-left: 10px; }
|
||||
td.deliverable-actions { padding-left: 10px; width:100px;}
|
||||
|
||||
tr.deliverable-details p { text-align:left; clear:both;}
|
||||
tr.deliverable-details span.title { float:left; font-weight:bold; width: 130px;}
|
||||
|
||||
Reference in New Issue
Block a user