OSDN Git Service

rename back button
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sat, 17 Dec 2011 09:18:27 +0000 (11:18 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sat, 17 Dec 2011 09:18:27 +0000 (11:18 +0200)
app/views/issues/_form.html.haml
app/views/merge_requests/_form.html.haml
app/views/team_members/show.html.haml

index 64cff08..4a55263 100644 (file)
@@ -5,18 +5,18 @@
         - if request.xhr? 
           = link_to "#back", :onclick => "backToIssues();" do 
             .entity-button
-              Back
+              Issues
               %i
         - else 
           - if @issue.new_record?
             = link_to project_issues_path(@project) do 
               .entity-button
-                Back
+                Issues
                 %i
           - else    
             = link_to project_issue_path(@project, @issue) do 
               .entity-button
-                Back
+                Show Issue
                 %i
 
       %h2= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
index d7f612b..85f765e 100644 (file)
@@ -4,12 +4,12 @@
       - if @merge_request.new_record?
         = link_to project_merge_requests_path(@project) do 
           .entity-button
-            Back
+            Merge Requests
             %i
       - else    
         = link_to project_merge_request_path(@project, @merge_request) do 
           .entity-button
-            Back
+            Show Merge Request
             %i
 
     %h2= @merge_request.new_record? ? "New Merge Request" : "Edit Merge Request ##{@merge_request.id}"
index f3f5ed2..6293eee 100644 (file)
@@ -4,7 +4,7 @@
   %span.entity-info
     = link_to team_project_path(@project) do 
       .entity-button
-        Back
+        Team
         %i
 
   = image_tag gravatar_icon(user.email), :class => "left", :width => 40, :style => "padding-right:5px;"