mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 06:55:54 +01:00
(refs #488) Changing the issue edit.
This commit is contained in:
@@ -12,7 +12,8 @@
|
|||||||
@html.menu("issues", repository){
|
@html.menu("issues", repository){
|
||||||
<ul class="nav nav-tabs pull-left fill-width">
|
<ul class="nav nav-tabs pull-left fill-width">
|
||||||
<li class="pull-left">
|
<li class="pull-left">
|
||||||
<h1>@issue.title <span class="muted">#@issue.issueId</span></h1>
|
<h1 id="show-title">@issue.title <span class="muted">#@issue.issueId</span></h1>
|
||||||
|
<input type="text" style="width: 635px; display: none" id="edit-title" value="@issue.title"/>
|
||||||
@if(issue.closed) {
|
@if(issue.closed) {
|
||||||
<span class="label label-important issue-status">Closed</span>
|
<span class="label label-important issue-status">Closed</span>
|
||||||
} else {
|
} else {
|
||||||
@@ -49,3 +50,11 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
<script>
|
||||||
|
$(function(){
|
||||||
|
$('#edit').click(function(){
|
||||||
|
$('#edit-title').show();
|
||||||
|
$('#show-title').hide();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user