rename back button
This commit is contained in:
parent
f7859ec1ed
commit
6db121cbdb
3 changed files with 6 additions and 6 deletions
|
@ -5,18 +5,18 @@
|
||||||
- if request.xhr?
|
- if request.xhr?
|
||||||
= link_to "#back", :onclick => "backToIssues();" do
|
= link_to "#back", :onclick => "backToIssues();" do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Issues
|
||||||
%i
|
%i
|
||||||
- else
|
- else
|
||||||
- if @issue.new_record?
|
- if @issue.new_record?
|
||||||
= link_to project_issues_path(@project) do
|
= link_to project_issues_path(@project) do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Issues
|
||||||
%i
|
%i
|
||||||
- else
|
- else
|
||||||
= link_to project_issue_path(@project, @issue) do
|
= link_to project_issue_path(@project, @issue) do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Show Issue
|
||||||
%i
|
%i
|
||||||
|
|
||||||
%h2= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
|
%h2= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
- if @merge_request.new_record?
|
- if @merge_request.new_record?
|
||||||
= link_to project_merge_requests_path(@project) do
|
= link_to project_merge_requests_path(@project) do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Merge Requests
|
||||||
%i
|
%i
|
||||||
- else
|
- else
|
||||||
= link_to project_merge_request_path(@project, @merge_request) do
|
= link_to project_merge_request_path(@project, @merge_request) do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Show Merge Request
|
||||||
%i
|
%i
|
||||||
|
|
||||||
%h2= @merge_request.new_record? ? "New Merge Request" : "Edit Merge Request ##{@merge_request.id}"
|
%h2= @merge_request.new_record? ? "New Merge Request" : "Edit Merge Request ##{@merge_request.id}"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
%span.entity-info
|
%span.entity-info
|
||||||
= link_to team_project_path(@project) do
|
= link_to team_project_path(@project) do
|
||||||
.entity-button
|
.entity-button
|
||||||
Back
|
Team
|
||||||
%i
|
%i
|
||||||
|
|
||||||
= image_tag gravatar_icon(user.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
= image_tag gravatar_icon(user.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||||
|
|
Loading…
Add table
Reference in a new issue