Ver código fonte
fix: set /app as redirect for pageview home button (#17715) (#17717)
(cherry picked from commit 9b620bb648
)
Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
version-14
mergify[bot]
2 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
1 adições e
1 exclusões
-
frappe/public/js/frappe/views/pageview.js
|
|
@@ -138,7 +138,7 @@ frappe.show_message_page = function(opts) { |
|
|
|
<div class="text-center message-page-content">\ |
|
|
|
%(img)s\ |
|
|
|
<p class="lead">%(message)s</p>\ |
|
|
|
<a class="btn btn-default btn-sm btn-home" href="#">%(home)s</a>\ |
|
|
|
<a class="btn btn-default btn-sm btn-home" href="/app">%(home)s</a>\ |
|
|
|
</div>\ |
|
|
|
</div>', { |
|
|
|
img: opts.img || "", |
|
|
|