Dne 18.7.2011 15:20, Jozef Zigmund napsal(a):
---
src/app/stylesheets/custom.scss | 5 +++++
src/app/views/pools/_pretty_list.haml | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/app/stylesheets/custom.scss b/src/app/stylesheets/custom.scss
index d6dab6a..e4aedd9 100644
--- a/src/app/stylesheets/custom.scss
+++ b/src/app/stylesheets/custom.scss
@@ -67,3 +67,8 @@ footer.standard{
#deployable-xml-link {
color: #666;
}
+
+.pool_details {
+ color: #333;
+ text-decoration: none;
+}
diff --git a/src/app/views/pools/_pretty_list.haml
b/src/app/views/pools/_pretty_list.haml
index 07e2fb5..87d1cce 100644
--- a/src/app/views/pools/_pretty_list.haml
+++ b/src/app/views/pools/_pretty_list.haml
@@ -28,7 +28,7 @@
= render :partial => 'deployments', :locals => {:deployments
=> pool.deployments}
%ul.content.actions
%li
- %a{:href => pool_path(pool)}= "#{pool.name} Pool
details»"
+ = link_to "#{pool.name} Pool details»", pool_path(pool),
:class =>'pool_details'
%li
= link_to 'New Deployment', launch_new_deployments_path(:pool_id
=> pool.id), :class => 'button primary', :id =>
'new_deployment_button'
ACK