From 618b3757af1342179df3286bd08db2ee55cd5a00 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 9 Jun 2008 17:19:19 -0700 Subject: [PATCH] Minor CSS tweaks --- app/views/deliverables/_deliverable.html.erb | 2 +- assets/stylesheets/budget.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/deliverables/_deliverable.html.erb b/app/views/deliverables/_deliverable.html.erb index ecc09c1..37d8d6a 100644 --- a/app/views/deliverables/_deliverable.html.erb +++ b/app/views/deliverables/_deliverable.html.erb @@ -10,7 +10,7 @@ <%= content_tag(:td, link_to_function("Details", "$('deliverable-details-#{deliverable.id}').toggle();"), :class => 'actions') %> - + <%= content_tag(:p,link_to("Edit", :action => 'edit', :id => @project.id, :deliverable_id => deliverable.id)) if allowed_management? -%> <%= content_tag(:p,link_to("Delete", { :action => 'destroy', :id => @project.id, :deliverable_id => deliverable.id}, :confirm => l(:text_are_you_sure))) if allowed_management? %> <%= content_tag(:p,link_to("Issues", :action => 'issues', :id => @project.id, :deliverable_id => deliverable.id)) -%> diff --git a/assets/stylesheets/budget.css b/assets/stylesheets/budget.css index 6770d4c..ce45d6e 100644 --- a/assets/stylesheets/budget.css +++ b/assets/stylesheets/budget.css @@ -11,6 +11,12 @@ tr.deliverable td.spent { text-align: right; } tr.deliverable td.due_date { text-align: center; } tr.deliverable td.done_ratio table.progress { margin-left:auto; margin-right: auto;} +tr.deliverable-details { border-top: 1px solid #BBBBBB; } +tr.deliverable-details td { padding-bottom: 50px ; } + + +td.deliverable-actions { padding-left: 10px; } + tr.deliverable-details p { text-align:left; clear:both;} tr.deliverable-details span.title { float:left; font-weight:bold; width: 130px;} tr.deliverable-details span.data { float:right; padding-right: 50px;}