mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 03:26:06 +01:00
Some fix for the issues page.
This commit is contained in:
@@ -38,7 +38,7 @@ trait LabelsControllerBase extends ControllerBase {
|
||||
|
||||
getRepository(owner, repository, baseUrl) match {
|
||||
case None => NotFound()
|
||||
case Some(r) => issues.html.labellist(getLabels(owner, repository), r)
|
||||
case Some(r) => issues.html.labeleditlist(getLabels(owner, repository), r)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -65,7 +65,7 @@ trait LabelsControllerBase extends ControllerBase {
|
||||
case None => NotFound()
|
||||
case Some(r) => {
|
||||
updateLabel(owner, repository, labelId, form.labelName, form.color.substring(1))
|
||||
issues.html.labellist(getLabels(owner, repository), r)
|
||||
issues.html.labeleditlist(getLabels(owner, repository), r)
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -79,7 +79,7 @@ trait LabelsControllerBase extends ControllerBase {
|
||||
case None => NotFound()
|
||||
case Some(r) => {
|
||||
deleteLabel(owner, repository, labelId)
|
||||
issues.html.labellist(getLabels(owner, repository), r)
|
||||
issues.html.labeleditlist(getLabels(owner, repository), r)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user