Bugzilla – Attachment 145212 Details for
Bug 32609
Remove compiled files from src
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32609: Add warning to the about page
Bug-32609-Add-warning-to-the-about-page.patch (text/plain), 3.49 KB, created by
Jonathan Druart
on 2023-01-11 16:14:20 UTC
(
hide
)
Description:
Bug 32609: Add warning to the about page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-01-11 16:14:20 UTC
Size:
3.49 KB
patch
obsolete
>From 19aa25167f297c1ef5a4316372b8739136f001ed Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 11 Jan 2023 15:42:55 +0100 >Subject: [PATCH] Bug 32609: Add warning to the about page > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index 5b7834a434a..7db4153473a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -1,5 +1,6 @@ > [% USE HtmlTags %] > [% USE Koha %] >+[% USE Asset %] > [% USE KohaDates %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >@@ -218,8 +219,13 @@ > </table> > </div> > >+ [% IF Asset.css("css/staff-global.css") == "" >+ || Asset.js("js/vue/dist/main.js") == "" %] >+ [% SET warnMissingCompiledFiles = 1 %] >+ [% END %] >+ > <div role="tabpanel" class="tab-pane" id="sysinfo"> >- [% IF warnRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing %] >+ [% IF warnRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing || warnMissingCompiledFiles %] > [% IF (warnIsRootUser) %] > <h2>Warning regarding current user</h2> > <p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p> >@@ -412,6 +418,11 @@ > Elasticsearch version 5.x is not supported in Koha 20.11 and greater. Please upgrade your Elasticsearch cluster > </td></tr> > [% END %] >+ [% IF warnMissingCompiledFiles %] >+ <tr><th scope="row"><strong class="error">Error</strong></th><td> >+ Compiled CSS and/or JS files are not present. Please run `yarn build` to generate them. >+ </td></tr> >+ [% END %] > > </table> > [% END %] >-- >2.25.1
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
|
Splinter Review
Attachments on
bug 32609
:
145209
|
145210
|
145211
|
145212
|
145802
|
145838