Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2ac00999
Commit
2ac00999
authored
Jul 24, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix discussion partials
parent
e28fb834
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
app/views/discussions/_diff_discussion.html.haml
app/views/discussions/_diff_discussion.html.haml
+2
-2
app/views/discussions/_parallel_diff_discussion.html.haml
app/views/discussions/_parallel_diff_discussion.html.haml
+4
-4
app/views/discussions/_resolve_all.html.haml
app/views/discussions/_resolve_all.html.haml
+4
-0
No files found.
app/views/discussions/_diff_discussion.html.haml
View file @
2ac00999
...
@@ -7,6 +7,6 @@
...
@@ -7,6 +7,6 @@
.discussion-reply-holder
.discussion-reply-holder
.discussion-with-resolve-btn
{
role:
"group"
}
.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group
.btn-group
=
link_to_reply_discussion
(
note
)
=
link_to_reply_discussion
(
discussion
)
.btn-group
.btn-group
=
render
"
projects/notes/discussions/resolve_all"
,
note:
note
=
render
"
discussions/resolve_all"
,
discussion:
discussion
app/views/discussions/_parallel_diff_discussion.html.haml
View file @
2ac00999
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
.discussion-reply-holder
.discussion-reply-holder
.btn-group-justified.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group-justified.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group
{
role:
"group"
}
.btn-group
{
role:
"group"
}
=
link_to_reply_discussion
(
note
_left
,
'old'
)
=
link_to_reply_discussion
(
discussion
_left
,
'old'
)
.btn-group
{
role:
"group"
}
.btn-group
{
role:
"group"
}
=
render
"
projects/notes/discussions/resolve_all"
,
note:
note
_left
=
render
"
discussions/resolve_all"
,
discussion:
discussion
_left
-
else
-
else
%td
.notes_line.old
=
""
%td
.notes_line.old
=
""
%td
.notes_content.parallel.old
=
""
%td
.notes_content.parallel.old
=
""
...
@@ -24,9 +24,9 @@
...
@@ -24,9 +24,9 @@
.discussion-reply-holder
.discussion-reply-holder
.btn-group-justified.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group-justified.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group
{
role:
"group"
}
.btn-group
{
role:
"group"
}
=
link_to_reply_discussion
(
note
_right
,
'new'
)
=
link_to_reply_discussion
(
discussion
_right
,
'new'
)
.btn-group
{
role:
"group"
}
.btn-group
{
role:
"group"
}
=
render
"
projects/notes/discussions/resolve_all"
,
note:
note
_right
=
render
"
discussions/resolve_all"
,
discussion:
discussion
_right
-
else
-
else
%td
.notes_line.new
=
""
%td
.notes_line.new
=
""
%td
.notes_content.parallel.new
=
""
%td
.notes_content.parallel.new
=
""
app/views/
projects/notes/
discussions/_resolve_all.html.haml
→
app/views/discussions/_resolve_all.html.haml
View file @
2ac00999
%resolve-all
{
":namespace"
=>
"'#{
note.project.namespace.path}/#{note.project.path}'"
,
":discussion-id"
=>
"'#{note.discussion_
id}'"
,
"inline-template"
=>
true
,
"v-cloak"
=>
true
}
%resolve-all
{
":namespace"
=>
"'#{
discussion.project.namespace.path}/#{discussion.project.path}'"
,
":discussion-id"
=>
"'#{discussion.
id}'"
,
"inline-template"
=>
true
,
"v-cloak"
=>
true
}
%button
.btn.btn-default
{
type:
"button"
,
"@click"
=>
"resolve"
,
":disabled"
=>
"loading"
}
%button
.btn.btn-default
{
type:
"button"
,
"@click"
=>
"resolve"
,
":disabled"
=>
"loading"
}
=
icon
(
"spinner spin"
,
"v-show"
=>
"loading"
)
=
icon
(
"spinner spin"
,
"v-show"
=>
"loading"
)
{{ buttonText }}
{{ buttonText }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment