[Koha-bugs] [Bug 11904] New: Proposal for a uniform way to send messages to user interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 6 19:31:20 CET 2014


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

            Bug ID: 11904
           Summary: Proposal for a uniform way to send messages to user
                    interface
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: julian.maurice at biblibre.com
          Reporter: julian.maurice at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

I find quite horrible that for sending a message to user interface we have to
do something like that:

  $template->param(there_was_an_error_during_checkout => 1);

then in template:

  [% IF there_was_an_error_during_checkout = 1 %]
    <div>There was an error during checkout</div>
  [% END %]

or even worse, having to add a parameter in the URL we want to redirect to.

So here is a proposal for a uniform way to send messages to user interface.

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


More information about the Koha-bugs mailing list