https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43230

--- Comment #4 from David Cook <[email protected]> ---
Comment on attachment 203203
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203203
Bug 43230: Plugin hook for adding buttons to intranet authorities detail
toolbar

Review of attachment 203203:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=43230&attachment=203203)
-----------------------------------------------------------------

::: authorities/authorities.pl
@@ +677,5 @@
>  
>  my $type = $authority_types->find($authtypecode);
> +
> +# Determine if we should be offering any enhancement plugin buttons
> +if ( C4::Context->config('enable_plugins') ) {

I think we're trying to move to Koha::Config for these checks.

::: koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
@@ +150,5 @@
>                      <div class="alert alert-info">No plugins that can 
> process online payments via the public catalog are installed</div>
>                  [% ELSIF method == 'intranet_catalog_biblio_enhancements' %]
>                      <div class="alert alert-info">No plugins that can 
> enhance the bibliographic records in the staff interface are installed</div>
> +                [% ELSIF method == 
> 'intranet_catalog_authority_enhancements_toolbar_button' %]
> +                    <div class="dialog message">No plugins that can enhance 
> the authorities detail in the staff interface are installed</div>

I think the classes might be wrong here as they're not consistent with the
other plugins with similar messaging.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to