File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 976
976
{{end}}
977
977
</div>
978
978
<div class="content">
979
- <p >
979
+ <div class="ui warning message" >
980
980
{{if .Repository.IsArchived}}
981
981
{{.locale.Tr "repo.settings.unarchive.text"}}
982
982
{{else}}
983
983
{{.locale.Tr "repo.settings.archive.text"}}
984
984
{{end}}
985
- </p>
986
- </div>
987
- <form action="{{.Link}}" method="post">
988
- {{.CsrfTokenHtml}}
989
- <input type="hidden" name="action" value="{{if .Repository.IsArchived}}unarchive{{else}}archive{{end}}">
990
- <input type="hidden" name="repo_id" value="{{.Repository.ID}}">
991
- {{template "base/modal_actions_confirm" .}}
985
+ </div>
986
+ <form action="{{.Link}}" method="post">
987
+ {{.CsrfTokenHtml}}
988
+ <input type="hidden" name="action" value="{{if .Repository.IsArchived}}unarchive{{else}}archive{{end}}">
989
+ <input type="hidden" name="repo_id" value="{{.Repository.ID}}">
990
+ <div class="text right actions">
991
+ <button class="ui cancel button">{{.locale.Tr "settings.cancel"}}</button>
992
+ <button class="ui red button">{{.locale.Tr "repo.settings.archive.button"}}</button>
993
+ </div>
992
994
</form>
995
+ </div>
993
996
</div>
994
997
{{end}}
995
998
{{end}}
You can’t perform that action at this time.
0 commit comments