[Koha-bugs] [Bug 12187] New: Duplicate TT code for serial statuses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 5 12:44:22 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12187

            Bug ID: 12187
           Summary: Duplicate TT code for serial statuses
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org

[% IF ( latestserial.status1 ) %]Expected[% END %]
                    [% IF ( latestserial.status2 ) %]Arrived[% END %]
                    [% IF ( latestserial.status3 ) %]Late[% END %]
                    ...


These statements are repeated multiple times, in the following files:

intranet-tmpl/prog/en/modules/catalogue/detail.tt
intranet-tmpl/prog/en/modules/serials/serial-issues-full.tt
intranet-tmpl/prog/en/modules/serials/claims.tt
intranet-tmpl/prog/en/modules/serials/serials-recieve.tt
intranet-tmpl/prog/en/modules/serials/serials-collection.tt
intranet-tmpl/prog/en/modules/serials/serials-edit.tt
intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
opac-tmpl/prog/en/modules/opac-full-serial-issues.tt
opac-tmpl/prog/en/modules/opac-detail.tt


To prevent things from getting out of sync, they should be folded into a single
TT block or macro.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list