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
0
Merge Requests
0
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
Kazuhiko Shiozaki
gitlab-ce
Commits
847bd0d0
Commit
847bd0d0
authored
Mar 18, 2015
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix public issue
parent
066fb568
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
26 deletions
+28
-26
app/views/projects/issues/_issue_context.html.haml
app/views/projects/issues/_issue_context.html.haml
+14
-13
app/views/projects/merge_requests/show/_context.html.haml
app/views/projects/merge_requests/show/_context.html.haml
+14
-13
No files found.
app/views/projects/issues/_issue_context.html.haml
View file @
847bd0d0
...
@@ -27,19 +27,20 @@
...
@@ -27,19 +27,20 @@
=
hidden_field_tag
:issue_context
=
hidden_field_tag
:issue_context
=
f
.
submit
class:
'btn'
=
f
.
submit
class:
'btn'
%div
.prepend-top-20.clearfix
-
if
current_user
.issuable-context-title
%div
.prepend-top-20.clearfix
%label
.issuable-context-title
Subscription:
%label
%button
.btn.btn-block.subscribe-button
Subscription:
%i
.fa.fa-eye
%button
.btn.btn-block.subscribe-button
%span
=
@issue
.
subscribed?
(
current_user
)
?
"Unsubscribe"
:
"Subscribe"
%i
.fa.fa-eye
-
subscribtion_status
=
@issue
.
subscribed?
(
current_user
)
?
"subscribed"
:
"unsubscribed"
%span
=
@issue
.
subscribed?
(
current_user
)
?
"Unsubscribe"
:
"Subscribe"
.subscription-status
{
"data-status"
=>
subscribtion_status
}
-
subscribtion_status
=
@issue
.
subscribed?
(
current_user
)
?
"subscribed"
:
"unsubscribed"
.description-block.unsubscribed
{
class:
(
"hidden"
if
@issue
.
subscribed?
(
current_user
)
)}
.subscription-status
{
"data-status"
=>
subscribtion_status
}
You're not receiving notifications from this thread.
.description-block.unsubscribed
{
class:
(
"hidden"
if
@issue
.
subscribed?
(
current_user
)
)}
.description-block.subscribed
{
class:
(
"hidden"
unless
@issue
.
subscribed?
(
current_user
)
)}
You're not receiving notifications from this thread.
You're receiving notifications because you're subscribed to this thread.
.description-block.subscribed
{
class:
(
"hidden"
unless
@issue
.
subscribed?
(
current_user
)
)}
You're receiving notifications because you're subscribed to this thread.
:coffeescript
:coffeescript
$ ->
$ ->
...
...
app/views/projects/merge_requests/show/_context.html.haml
View file @
847bd0d0
...
@@ -29,19 +29,20 @@
...
@@ -29,19 +29,20 @@
=
hidden_field_tag
:merge_request_context
=
hidden_field_tag
:merge_request_context
=
f
.
submit
class:
'btn'
=
f
.
submit
class:
'btn'
%div
.prepend-top-20.clearfix
-
if
current_user
.issuable-context-title
%div
.prepend-top-20.clearfix
%label
.issuable-context-title
Subscription:
%label
%button
.btn.btn-block.subscribe-button
Subscription:
%i
.fa.fa-eye
%button
.btn.btn-block.subscribe-button
%span
=
@merge_request
.
subscribed?
(
current_user
)
?
"Unsubscribe"
:
"Subscribe"
%i
.fa.fa-eye
-
subscribtion_status
=
@merge_request
.
subscribed?
(
current_user
)
?
"subscribed"
:
"unsubscribed"
%span
=
@merge_request
.
subscribed?
(
current_user
)
?
"Unsubscribe"
:
"Subscribe"
.subscription-status
{
"data-status"
=>
subscribtion_status
}
-
subscribtion_status
=
@merge_request
.
subscribed?
(
current_user
)
?
"subscribed"
:
"unsubscribed"
.description-block.unsubscribed
{
class:
(
"hidden"
if
@merge_request
.
subscribed?
(
current_user
)
)}
.subscription-status
{
"data-status"
=>
subscribtion_status
}
You're not receiving notifications from this thread.
.description-block.unsubscribed
{
class:
(
"hidden"
if
@merge_request
.
subscribed?
(
current_user
)
)}
.description-block.subscribed
{
class:
(
"hidden"
unless
@merge_request
.
subscribed?
(
current_user
)
)}
You're not receiving notifications from this thread.
You're receiving notifications because you're subscribed to this thread.
.description-block.subscribed
{
class:
(
"hidden"
unless
@merge_request
.
subscribed?
(
current_user
)
)}
You're receiving notifications because you're subscribed to this thread.
:coffeescript
:coffeescript
$ ->
$ ->
...
...
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