File tree Expand file tree Collapse file tree 5 files changed +25
-10
lines changed Expand file tree Collapse file tree 5 files changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -1033,6 +1033,7 @@ wiki.last_commit_info = %s edited this page %s
1033
1033
wiki.edit_page_button = Edit
1034
1034
wiki.new_page_button = New Page
1035
1035
wiki.file_revision = Page Revision
1036
+ wiki.wiki_page_revisions = Uncyclo Page Revisions
1036
1037
wiki.back_to_wiki = Back to wiki page
1037
1038
wiki.delete_page_button = Delete Page
1038
1039
wiki.delete_page_notice_1 = Deleting the wiki page '%s' cannot be undone. Continue?
Original file line number Diff line number Diff line change @@ -287,6 +287,8 @@ footer .ui.left,footer .ui.right{line-height:40px}
287
287
.markdown : not (code ) .csv-data tr {border-top : 0 }
288
288
.markdown : not (code ) .csv-data th {font-weight : 700 ;background : # f8f8f8 ;border-top : 0 }
289
289
.markdown : not (code ) .ui .list .list , .markdown : not (code ) ol .ui .list ol , .markdown : not (code ) ul .ui .list ul {padding-left : 2em }
290
+ .repository .wiki .revisions .ui .container > .ui .stackable .grid {flex-direction : row-reverse}
291
+ .repository .wiki .revisions .ui .container > .ui .stackable .grid > .header {margin-top : 0 }
290
292
.file-revisions-btn {display : block;float : left;padding : 11px !important ;margin-right : 10px !important }
291
293
.file-revisions-btn i {-webkit-touch-callout : none;-webkit-user-select : none;-moz-user-select : none;-ms-user-select : none;user-select : none}
292
294
.home .logo {max-width : 220px }
Original file line number Diff line number Diff line change 495
495
}
496
496
}
497
497
498
+ .repository.wiki.revisions {
499
+ .ui.container > .ui.stackable.grid {
500
+ -ms-flex-direction : row-reverse ;
501
+ flex-direction : row-reverse ;
502
+
503
+ > .header {
504
+ margin-top : 0 ;
505
+ }
506
+ }
507
+ }
508
+
498
509
.file-revisions-btn {
499
510
display : block ;
500
511
float : left ;
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ func Uncyclo(ctx *context.Context) {
276
276
ctx .HTML (200 , tplUncycloView )
277
277
}
278
278
279
- // Uncyclo renders file revision list of wiki page
279
+ // UncycloRevision renders file revision list of wiki page
280
280
func UncycloRevision (ctx * context.Context ) {
281
281
ctx .Data ["PageIsUncyclo" ] = true
282
282
ctx .Data ["CanWriteUncyclo" ] = ctx .Repo .CanWrite (models .UnitTypeUncyclo ) && ! ctx .Repo .Repository .IsArchived
Original file line number Diff line number Diff line change 4
4
{{ $title := .title}}
5
5
<div class="ui container">
6
6
<div class="ui stackable grid">
7
- <div class="ui header ten wide column">
8
- <a class="file-revisions-btn ui basic button" title="{{.i18n.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}" ><span>{{.revision}}</span> <i class="fa fa-fw fa-file-text-o"></i></a>
9
- {{$title}}
10
- <div class="ui sub header">
11
- {{$timeSince := TimeSince .Author.When $.Lang}}
12
- {{.i18n.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
13
- </div>
14
- </div>
15
- <div class="ui six wide column">
7
+ <div class="ui eight wide column text right">
16
8
<div class="ui action small input" id="clone-panel">
17
9
{{if not $.DisableHTTP}}
18
10
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.UncycloCloneLink.HTTPS}}">
36
28
{{end}}
37
29
</div>
38
30
</div>
31
+ <div class="ui header eight wide column">
32
+ <a class="file-revisions-btn ui basic button" title="{{.i18n.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}" ><span>{{.revision}}</span> <i class="fa fa-fw fa-file-text-o"></i></a>
33
+ {{$title}}
34
+ <div class="ui sub header">
35
+ {{$timeSince := TimeSince .Author.When $.Lang}}
36
+ {{.i18n.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
37
+ </div>
38
+ </div>
39
39
</div>
40
+ <h2 class="ui top header">{{.i18n.Tr "repo.wiki.wiki_page_revisions"}}</h2>
40
41
<div class="ui" style="margin-top: 1rem;">
41
42
<h4 class="ui top attached header">
42
43
<div class="ui stackable grid">
You can’t perform that action at this time.
0 commit comments