mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 10:46:10 +01:00
Merge pull request '[GITEA] Add cancel button to wiki' (#1792) from Gusted/forgejo:forgejo-cancel-wiki into forgejo-dependency
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1792
This commit is contained in:
commit
8b6f5a890b
|
@ -1891,6 +1891,7 @@ wiki.page_title = Page title
|
|||
wiki.page_content = Page content
|
||||
wiki.default_commit_message = Write a note about this page update (optional).
|
||||
wiki.save_page = Save Page
|
||||
wiki.cancel = Cancel
|
||||
wiki.last_commit_info = %s edited this page %s
|
||||
wiki.edit_page_button = Edit
|
||||
wiki.new_page_button = New Page
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<button class="ui primary button">
|
||||
{{ctx.Locale.Tr "repo.wiki.save_page"}}
|
||||
</button>
|
||||
<a class="ui button red" href="{{.Link}}">{{ctx.Locale.Tr "repo.wiki.cancel"}}</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue