OSDN Git Service

Re-added back to issues list, but moved it above title. Added css to move issue meta...
authorSteven Verbeek <sverbeek@modernmedia.ca>
Sat, 17 Mar 2012 05:22:12 +0000 (02:22 -0300)
committerSteven Verbeek <sverbeek@modernmedia.ca>
Sat, 17 Mar 2012 05:22:12 +0000 (02:22 -0300)
app/views/issues/show.html.haml

index d31c0af..8347e35 100644 (file)
@@ -1,3 +1,7 @@
+.back_link
+= link_to project_issues_path(@project) do 
+  &larr; To issues list
+
 %h3
   #{@issue.title}
   %small
 
 %div.well
   %div
-    %cite.cgray Created by
-    = image_tag gravatar_icon(@issue.author_email), :width => 16, :class => "lil_av"
-    %strong.author= link_to_issue_author(@issue)
-
-    %cite.cgray and currently assigned to 
-    = image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av"
-    %strong.author= link_to_issue_assignee(@issue)
+    %div.issue_meta
+      %cite.cgray Created by
+      = image_tag gravatar_icon(@issue.author_email), :width => 16, :class => "lil_av"
+      %strong.author= link_to_issue_author(@issue)
+  
+      %cite.cgray and currently assigned to 
+      = image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av"
+      %strong.author= link_to_issue_assignee(@issue)
     
-    - if @issue.closed
-      .alert-message.error Closed
-    - else 
-      .alert-message.success Open
+    %div.issue_status
+      - if @issue.closed
+        .alert-message.error Closed
+      - else 
+        .alert-message.success Open
 
     %hr