View | Details | Raw Unified | Return to bug 32773
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-14 / +15 lines)
Lines 959-976 $(document).ready(function(){ Link Here
959
                                    <a class="dropdown-item" href="#" id="marcTagsSelect"><i class="fa fa-check-square"></i> Show tags</a>
959
                                    <a class="dropdown-item" href="#" id="marcTagsSelect"><i class="fa fa-check-square"></i> Show tags</a>
960
                                </li>
960
                                </li>
961
                            [% END %]
961
                            [% END %]
962
                            <li><h6 class="dropdown-header">Change framework</h6></li>
962
                            [% BLOCK framework_link %]
963
                            <li>
964
                                <a class="dropdown-item change-framework" href="#" data-frameworkcode="">
965
                                    [% IF ( frameworkcode ) %]
966
                                       <i class="fa fa-fw">&nbsp;</i>
967
                                    [% ELSE %]
968
                                        <i class="fa fa-fw fa-check"></i>
969
                                    [% END %]
970
                                    Default
971
                                </a>
972
                            </li>
973
                            [% FOREACH framework IN frameworks%]
974
                                <li>
963
                                <li>
975
                                    <a class="dropdown-item change-framework" href="#" data-frameworkcode="[% framework.frameworkcode | html %]">
964
                                    <a class="dropdown-item change-framework" href="#" data-frameworkcode="[% framework.frameworkcode | html %]">
976
                                        [% IF framework.frameworkcode == frameworkcode %]
965
                                        [% IF framework.frameworkcode == frameworkcode %]
Lines 978-987 $(document).ready(function(){ Link Here
978
                                        [% ELSE %]
967
                                        [% ELSE %]
979
                                            <i class="fa fa-fw">&nbsp;</i>
968
                                            <i class="fa fa-fw">&nbsp;</i>
980
                                        [% END %]
969
                                        [% END %]
981
                                        [% framework.frameworktext | html %]
970
                                        [% !framework ? 'Default' : framework.frameworktext | html %]
982
                                    </a>
971
                                    </a>
983
                                </li>
972
                                </li>
984
                            [% END %]
973
                            [% END %]
974
                            [% IF CAN_user_editcatalogue_edit_catalogue %]
975
                                <li><h6 class="dropdown-header">Change framework</h6></li>
976
                                [% FOREACH framework IN frameworks %]
977
                                    [% IF loop.first %][% INCLUDE framework_link framework='' %][% END %]
978
                                    [% IF !framework.is_fast_add %][% INCLUDE framework_link %][% END %]
979
                                [% END %]
980
                            [% END %]
981
                            [% IF CAN_user_editcatalogue_fast_cataloging %]
982
                                <li><h6 class="dropdown-header">Change Fast Add framework</h6></li>
983
                                [% FOREACH framework IN frameworks %]
984
                                    [% IF framework.is_fast_add %][% INCLUDE framework_link %][% END %]
985
                                [% END %]
986
                            [% END %]
985
                        </ul> <!-- /#settings-menu -->
987
                        </ul> <!-- /#settings-menu -->
986
                    </div> <!-- /.btn-group -->
988
                    </div> <!-- /.btn-group -->
987
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
989
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
988
- 

Return to bug 32773