Remove HAML eval for const strings.

This commit is contained in:
Ciro Santilli 2014-08-26 17:58:05 +02:00
parent 2c7e08745b
commit 15c8967238
7 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
%p
= "Project was moved to another location"
Project was moved to another location
%p
The project is now located under
= link_to project_url(@project) do

View file

@ -26,7 +26,7 @@
%a{href: "#diff-#{i}"}
%i.icon-minus
= diff.old_path
= "->"
\->
= diff.new_path
- elsif diff.new_file
%span.new-file

View file

@ -9,7 +9,7 @@
= link_to_gfm issue.title, project_issue_path(issue.project, issue), class: "row_title"
- if issue.closed?
%small.pull-right
= "CLOSED"
CLOSED
.issue-info
- if issue.assignee

View file

@ -5,7 +5,7 @@
- if merge_request.merged?
%small.pull-right
%i.icon-ok
= "MERGED"
MERGED
- else
%span.pull-right
- if merge_request.for_fork?

View file

@ -16,7 +16,7 @@
.form-group
.light
= f.label :title do
= "Title *"
Title *
= f.text_field :title, class: "form-control input-lg js-gfm-input", maxlength: 255, rows: 5, required: true
.form-group
.light

View file

@ -1,5 +1,5 @@
%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|
-if @user_project_relation.errors.any?

View file

@ -1,5 +1,5 @@
%h3.page-title
= "Import members from another project"
Import members from another project
%p.light
Only project members will be imported. Group members will be skipped.
%hr