A few other iids instead of ids (mostly in edit forms)
This commit is contained in:
parent
bae18f0a98
commit
53564d9009
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
%div.issue-form-holder
|
||||
%h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
|
||||
%h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.iid}"
|
||||
= form_for [@project, @issue] do |f|
|
||||
-if @issue.errors.any?
|
||||
.alert.alert-error
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%h3.page-title
|
||||
= "Edit merge request ##{@merge_request.id}"
|
||||
= "Edit merge request ##{@merge_request.iid}"
|
||||
%hr
|
||||
= render 'form'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
|
||||
%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.iid}"
|
||||
.back-link
|
||||
= link_to project_milestones_path(@project) do
|
||||
← To milestones
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%li
|
||||
= link_to [@project, merge_request] do
|
||||
%span.badge.badge-info ##{merge_request.id}
|
||||
%span.badge.badge-info ##{merge_request.iid}
|
||||
–
|
||||
= link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request]
|
||||
|
|
Loading…
Reference in a new issue