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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
651a0dd5
Commit
651a0dd5
authored
Jan 06, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5934 from dblessing/fix/issue_update_js
Fix issue update js
parents
1c0929f5
2804fbbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-1
app/views/projects/issues/update.js.haml
app/views/projects/issues/update.js.haml
+1
-1
No files found.
app/views/projects/issues/show.html.haml
View file @
651a0dd5
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
%span
.milestone-nav-link
%span
.milestone-nav-link
-
if
@issue
.
milestone
-
if
@issue
.
milestone
|
|
%span
.light
Milestone
=
link_to
project_milestone_path
(
@project
,
@issue
.
milestone
)
do
=
link_to
project_milestone_path
(
@project
,
@issue
.
milestone
)
do
%span
.light
Milestone
=
@issue
.
milestone
.
title
=
@issue
.
milestone
.
title
.issue-box
.issue-box
...
...
app/views/projects/issues/update.js.haml
View file @
651a0dd5
...
@@ -8,6 +8,6 @@
...
@@ -8,6 +8,6 @@
$('.chosen').chosen();
$('.chosen').chosen();
$('.edit-issue.inline-update input[type="submit"]').hide();
$('.edit-issue.inline-update input[type="submit"]').hide();
-
if
@issue
.
milestone
-
if
@issue
.
milestone
$('.milestone-nav-link').replaceWith("
#{
escape_javascript
(
link_to
"| #{@issue.milestone.title}"
,
project_milestone_path
(
@issue
.
project
,
@issue
.
milestone
),
:class
=>
'milestone-nav-link'
)
}
")
$('.milestone-nav-link').replaceWith("
<span
class=
'milestone-nav-link'
>
|
<span
class=
'light'
>
Milestone
</span>
#{
escape_javascript
(
link_to
@issue
.
milestone
.
title
,
project_milestone_path
(
@issue
.
project
,
@issue
.
milestone
))
}
</span>
")
-
else
-
else
$('.milestone-nav-link').html('')
$('.milestone-nav-link').html('')
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