Skip to content

Commit 635f55c

Browse files
committed
Uniformly replace "octicon-file-directory-fill" in the template with "folderIconHTMLByOpenStatus" to achieve a consistent style.
1 parent 0788085 commit 635f55c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/admin/repo/unadopted.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="ui aligned divided list">
2222
{{range $dirI, $dir := .Dirs}}
2323
<div class="item tw-flex tw-items-center">
24-
<span class="tw-flex-1"> {{svg "octicon-file-directory-fill"}} {{$dir}}</span>
24+
<span class="tw-flex-1"> {{folderIconHTMLByOpenStatus false}} {{$dir}}</span>
2525
<div>
2626
<button class="ui button primary show-modal tw-p-2" data-modal="#adopt-unadopted-modal-{{$dirI}}">{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</button>
2727
<div class="ui g-modal-confirm modal" id="adopt-unadopted-modal-{{$dirI}}">

templates/user/settings/repos.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<span><a href="{{$repo.BaseRepo.Link}}">{{$repo.BaseRepo.OwnerName}}/{{$repo.BaseRepo.Name}}</a></span>
3131
{{end}}
3232
{{else}}
33-
<span class="icon tw-inline-block tw-pt-2">{{svg "octicon-file-directory-fill"}}</span>
33+
<span class="icon tw-inline-block tw-pt-2">{{folderIconHTMLByOpenStatus false}}</span>
3434
<span class="name tw-inline-block tw-pt-2">{{$.ContextUser.Name}}/{{$dir}}</span>
3535
<div class="tw-float-right">
3636
{{if $.allowAdopt}}

0 commit comments

Comments
 (0)