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

[refactor] Remove HAML eval for const strings.
This commit is contained in:
Dmitriy Zaporozhets 2014-08-28 16:52:18 +03:00
commit ef4848a6ff
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View 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

View File

@ -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?

View File

@ -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

View File

@ -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?

View File

@ -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