Skip to content

Commit

Permalink
#117 closed: "Users which are not super-users cannot edit comments"
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 2, 2011
1 parent a505cac commit 5a20316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/scala/tools/colladoc/page/Template.scala
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class Template(tpl: DocTemplateEntity) extends tools.nsc.doc.html.page.Template(
private def controls(mbr: MemberEntity, isSelf: Boolean) =
<div class="controls">
{ select(mbr, isSelf) }
{ if (User.validSuperUser_?)
{ if (!User.banned_?)
edit(mbr, isSelf)
}
{ if (User.validSuperUser_?) delete(mbr, isSelf) }
Expand Down

0 comments on commit 5a20316

Please sign in to comment.