FreeBSD Bugzilla – Attachment 213903 Details for
Bug 246020
www/gitea: Fix repo/wiki/view.tmpl template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gitea: Add patch for repo/wiki/view.tmpl
gitea-fix-repo-wiki-view.patch (text/plain), 1.57 KB, created by
Sascha Biberhofer
on 2020-04-29 07:35:53 UTC
(
hide
)
Description:
gitea: Add patch for repo/wiki/view.tmpl
Filename:
MIME Type:
Creator:
Sascha Biberhofer
Created:
2020-04-29 07:35:53 UTC
Size:
1.57 KB
patch
obsolete
>diff -Naur gitea.orig/Makefile gitea/Makefile >--- gitea.orig/Makefile 2020-04-13 16:06:36.000000000 +0000 >+++ gitea/Makefile 2020-04-29 07:07:19.266437000 +0000 >@@ -3,6 +3,7 @@ > PORTNAME= gitea > DISTVERSIONPREFIX= v > DISTVERSION= 1.11.4 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ > DISTNAME= gitea-src-${DISTVERSION} >diff -Naur gitea.orig/files/patch-templates_repo_wiki_view.tmpl gitea/files/patch-templates_repo_wiki_view.tmpl >--- gitea.orig/files/patch-templates_repo_wiki_view.tmpl 1970-01-01 00:00:00.000000000 +0000 >+++ gitea/files/patch-templates_repo_wiki_view.tmpl 2020-04-29 07:06:23.471306000 +0000 >@@ -0,0 +1,11 @@ >+--- templates/repo/wiki/view.tmpl.orig 2020-04-29 07:06:03 UTC >++++ templates/repo/wiki/view.tmpl >+@@ -45,7 +45,7 @@ >+ {{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} >+ <input id="repo-clone-url" value="{{$.WikiCloneLink.SSH}}" readonly> >+ {{end}} >+- {{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}} >++ {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}} >+ <button class="ui basic icon button poping up clipboard" id="clipboard-btn" data-original="{{.i18n.Tr "repo.copy_link"}}" data-success="{{.i18n.Tr "repo.copy_link_success"}}" data-error="{{.i18n.Tr "repo.copy_link_error"}}" data-content="{{.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-target="#repo-clone-url"> >+ <i class="octicon octicon-clippy"></i> >+ </button>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246020
: 213903