BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2804fbbd
Commit
2804fbbd
authored
Dec 26, 2013
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue update js
parent
b27bd2b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
show.html.haml
app/views/projects/issues/show.html.haml
+1
-1
update.js.haml
app/views/projects/issues/update.js.haml
+1
-1
No files found.
app/views/projects/issues/show.html.haml
View file @
2804fbbd
...
@@ -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 @
2804fbbd
...
@@ -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