mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Reduce MR/issue duplication
This commit is contained in:
@@ -12,10 +12,7 @@
|
||||
.col-md-9
|
||||
.votes-holder.pull-right
|
||||
#votes= render 'votes/votes_block', votable: @issue
|
||||
.participants
|
||||
%span= pluralize(@participants.count, 'participant')
|
||||
- @participants.each do |participant|
|
||||
= link_to_member(@project, participant, name: false, size: 24)
|
||||
= render "shared/issuable/participants"
|
||||
.col-md-3
|
||||
.input-group.cross-project-reference
|
||||
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
.col-md-9
|
||||
.votes-holder.pull-right
|
||||
#votes= render 'votes/votes_block', votable: @merge_request
|
||||
= render "projects/merge_requests/show/participants"
|
||||
= render "shared/issuable/participants"
|
||||
.col-md-3
|
||||
.input-group.cross-project-reference
|
||||
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
.row
|
||||
%section.col-md-9
|
||||
= render "projects/notes/notes_with_form"
|
||||
.voting_notes#notes= render "projects/notes/notes_with_form"
|
||||
%aside.col-md-3
|
||||
.issuable-affix
|
||||
.context
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
.participants
|
||||
%span #{@participants.count} participants
|
||||
%span
|
||||
= pluralize @participants.count, "participant"
|
||||
- @participants.each do |participant|
|
||||
= link_to_member(@project, participant, name: false, size: 24)
|
||||
Reference in New Issue
Block a user