Commit ef4848a6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7609 from cirosantilli/rm-haml-strings

[refactor] Remove HAML eval for const strings.
parents c8514bec 15c89672
%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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
%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?
......
%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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment