File tree Expand file tree Collapse file tree 5 files changed +5
-12
lines changed
src/main/twirl/gitbucket/gist Expand file tree Collapse file tree 5 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 77 editable: Boolean)(implicit context: gitbucket.core.controller.Context)
88@import gitbucket.core.view.helpers
99@gitbucket.core.html.main(if(gist.description.isEmpty) gist.repositoryName else gist.description){
10- < link href ="@context.path/plugin-assets/gist/style.css " rel ="stylesheet ">
10+ < link href ="@context.path/plugin-assets/gist/style.css?@helpers.hashQuery " rel ="stylesheet ">
1111 < div class ="content-wrapper main-center ">
1212 < div class ="gist-content ">
1313 @gitbucket.gist.html.header(gist, forkedCount, editable)
Original file line number Diff line number Diff line change 33@import gitbucket.gist.model.Mode
44@import gitbucket.core.view.helpers
55@gitbucket.core.html.main("Snippets"){
6- < link href ="@context.path/plugin-assets/gist/style.css " rel ="stylesheet ">
6+ < link href ="@context.path/plugin-assets/gist/style.css?@helpers.hashQuery " rel ="stylesheet ">
77 < div class ="content-wrapper main-center ">
88 < div class ="gist-content ">
99 < div class ="head ">
@@ -22,13 +22,6 @@ <h1 style="margin: 0px;">New snippet</h1>
2222 < span class ="label label-warning "> Private</ span >
2323 }
2424 < div class ="pull-right ">
25- @*
26- @if(gist.get.mode == "SECRET"){
27- < a href ="@path/gist/@gist.get.userName/@gist.get.repositoryName/public " class ="btn btn-default "> Make public</ a >
28- } else {
29- < a href ="@path/gist/@gist.get.userName/@gist.get.repositoryName/secret " class ="btn btn-default "> Make secret</ a >
30- }
31- *@
3225 < a href ="@context.path/gist/@gist.get.userName/@gist.get.repositoryName/delete " class ="btn btn-danger " id ="delete "> Delete</ a >
3326 </ div >
3427 < div class ="muted " style ="margin-left: 30px; font-size: 80%; ">
Original file line number Diff line number Diff line change 55 editable: Boolean)(implicit context: gitbucket.core.controller.Context)
66@import gitbucket.core.view.helpers
77@gitbucket.core.html.main("Snippets"){
8- < link href ="@context.path/plugin-assets/gist/style.css " rel ="stylesheet ">
8+ < link href ="@context.path/plugin-assets/gist/style.css?@helpers.hashQuery " rel ="stylesheet ">
99 < div class ="content-wrapper main-center ">
1010 < div class ="gist-content ">
1111 @gitbucket.gist.html.header(gist, forkedCount, editable)
Original file line number Diff line number Diff line change 55@import gitbucket.gist.model.Mode
66@import gitbucket.core.view.helpers
77@gitbucket.core.html.main(gistUser.map(user => s"${user.userName}'s Snippets").getOrElse("Snippets")){
8- < link href ="@context.path/plugin-assets/gist/style.css " rel ="stylesheet ">
8+ < link href ="@context.path/plugin-assets/gist/style.css?@helpers.hashQuery " rel ="stylesheet ">
99 < div class ="content-wrapper main-center ">
1010 < div class ="gist-content ">
1111 < div class ="head ">
Original file line number Diff line number Diff line change 66@import gitbucket.core.view.helpers
77@import org.eclipse.jgit.diff.DiffEntry.ChangeType
88@gitbucket.core.html.main(s"Revisions · ${gist.repositoryName}"){
9- < link href ="@context.path/plugin-assets/gist/style.css " rel ="stylesheet ">
9+ < link href ="@context.path/plugin-assets/gist/style.css?@helpers.hashQuery " rel ="stylesheet ">
1010 < div class ="content-wrapper main-center ">
1111 < div class ="gist-content ">
1212 @gitbucket.gist.html.header(gist, forkedCount, editable)
You can’t perform that action at this time.
0 commit comments