mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Move the settings link down (#2497)
This commit is contained in:
@@ -53,14 +53,14 @@
|
|||||||
@menuitem(externalWikiUrl, "wiki", "Wiki", "book")
|
@menuitem(externalWikiUrl, "wiki", "Wiki", "book")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if(context.loginAccount.isDefined && (context.loginAccount.get.isAdmin || repository.managers.contains(context.loginAccount.get.userName))){
|
|
||||||
@menuitem("/settings", "settings", "Settings", "gear")
|
|
||||||
}
|
|
||||||
@gitbucket.core.plugin.PluginRegistry().getRepositoryMenus.map { menu =>
|
@gitbucket.core.plugin.PluginRegistry().getRepositoryMenus.map { menu =>
|
||||||
@menu(repository, context).map { link =>
|
@menu(repository, context).map { link =>
|
||||||
@menuitem(link.path, link.id, link.label, link.icon.getOrElse("ruby"))
|
@menuitem(link.path, link.id, link.label, link.icon.getOrElse("ruby"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@if(context.loginAccount.isDefined && (context.loginAccount.get.isAdmin || repository.managers.contains(context.loginAccount.get.userName))){
|
||||||
|
@menuitem("/settings", "settings", "Settings", "gear")
|
||||||
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user