Merge pull request #7609 from cirosantilli/rm-haml-strings
[refactor] Remove HAML eval for const strings.
This commit is contained in:
commit
ef4848a6ff
|
@ -1,5 +1,5 @@
|
||||||
%p
|
%p
|
||||||
= "Project was moved to another location"
|
Project was moved to another location
|
||||||
%p
|
%p
|
||||||
The project is now located under
|
The project is now located under
|
||||||
= link_to project_url(@project) do
|
= link_to project_url(@project) do
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
%a{href: "#diff-#{i}"}
|
%a{href: "#diff-#{i}"}
|
||||||
%i.icon-minus
|
%i.icon-minus
|
||||||
= diff.old_path
|
= diff.old_path
|
||||||
= "->"
|
\->
|
||||||
= diff.new_path
|
= diff.new_path
|
||||||
- elsif diff.new_file
|
- elsif diff.new_file
|
||||||
%span.new-file
|
%span.new-file
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
= link_to_gfm issue.title, project_issue_path(issue.project, issue), class: "row_title"
|
= link_to_gfm issue.title, project_issue_path(issue.project, issue), class: "row_title"
|
||||||
- if issue.closed?
|
- if issue.closed?
|
||||||
%small.pull-right
|
%small.pull-right
|
||||||
= "CLOSED"
|
CLOSED
|
||||||
|
|
||||||
.issue-info
|
.issue-info
|
||||||
- if issue.assignee
|
- if issue.assignee
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- if merge_request.merged?
|
- if merge_request.merged?
|
||||||
%small.pull-right
|
%small.pull-right
|
||||||
%i.icon-ok
|
%i.icon-ok
|
||||||
= "MERGED"
|
MERGED
|
||||||
- else
|
- else
|
||||||
%span.pull-right
|
%span.pull-right
|
||||||
- if merge_request.for_fork?
|
- if merge_request.for_fork?
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
.form-group
|
.form-group
|
||||||
.light
|
.light
|
||||||
= f.label :title do
|
= f.label :title do
|
||||||
= "Title *"
|
Title *
|
||||||
= f.text_field :title, class: "form-control input-lg js-gfm-input", maxlength: 255, rows: 5, required: true
|
= f.text_field :title, class: "form-control input-lg js-gfm-input", maxlength: 255, rows: 5, required: true
|
||||||
.form-group
|
.form-group
|
||||||
.light
|
.light
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%h3.page-title
|
%h3.page-title
|
||||||
= "New project member(s)"
|
New project member(s)
|
||||||
|
|
||||||
= form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project), html: { class: "form-horizontal users-project-form" } do |f|
|
= form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project), html: { class: "form-horizontal users-project-form" } do |f|
|
||||||
-if @user_project_relation.errors.any?
|
-if @user_project_relation.errors.any?
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%h3.page-title
|
%h3.page-title
|
||||||
= "Import members from another project"
|
Import members from another project
|
||||||
%p.light
|
%p.light
|
||||||
Only project members will be imported. Group members will be skipped.
|
Only project members will be imported. Group members will be skipped.
|
||||||
%hr
|
%hr
|
||||||
|
|
Loading…
Reference in New Issue