koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull subscriptio


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull subscription-add.tmpl,1.9,1.10 subscription-detail.tmpl,1.8,1.9
Date: Thu, 04 Aug 2005 01:54:57 -0700

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3043/koha-tmpl/intranet-tmpl/default/en/bull

Modified Files:
        subscription-add.tmpl subscription-detail.tmpl 
Log Message:
Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription 
created. If a letter is defined, users in OPAC can put an alert on the 
subscription. When an issue is marked "arrived", all users in the alert will 
recieve a mail (as defined in the "letter"). This last part (= send the mail) 
is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any 
serial subscription. The alert is stored in a new table, called alert. An alert 
can be put only if the librarian has activated them in subscription (and they 
activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have 
put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an 
alert on a virtual shelf, to be warned when something is changed in the virtual 
shelf (mail being sent once a day by cron, or manually by the shelf owner. 
Anyway, a mail won't be sent on every change, users would be spammed by Koha 
;-) )

Index: subscription-add.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-add.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** subscription-add.tmpl       4 May 2005 08:52:52 -0000       1.9
--- subscription-add.tmpl       4 Aug 2005 08:54:55 -0000       1.10
***************
*** 16,22 ****
                <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
                <p>Librarian</td><td> <!-- TMPL_VAR name="user" --></p>
!               <p><label>Supplier</label><input type="text" 
name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size=4> 
(<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR 
name="aqbooksellername" -->" disabled readonly>)<a href="#" 
onClick="FindAcqui(f)">...</a></p>
!               <p><label>Biblio</label><input type="text" name="biblionumber" 
value="<!-- TMPL_VAR name="biblionumber" -->" size=4> (<input type="text" 
name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled readonly>)<a 
href="#" onClick="Plugin(f)">...</a></p>
!               <p><label>Notes</label><textarea name="notes" cols="30" 
rows="2"><!-- TMPL_VAR name="notes" --></textarea></p>
                <p class="problem">warning</p>
                <ul>
--- 16,34 ----
                <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
                <p>Librarian</td><td> <!-- TMPL_VAR name="user" --></p>
!               <p><label class="label100">Supplier</label><input type="text" 
name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size=4> 
(<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR 
name="aqbooksellername" -->" disabled readonly>)<a href="#" 
onClick="FindAcqui(f)">...</a></p>
!               <p><label class="label100">Biblio</label><input type="text" 
name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size=4> 
(<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" 
disabled readonly>)<a href="#" onClick="Plugin(f)">...</a></p>
!               <p><label class="label100">Notes</label><textarea name="notes" 
cols="30" rows="2"><!-- TMPL_VAR name="notes" --></textarea></p>
!               <p><label class="label100">Enable issue alert</label>
!                       <select name="letter">
!                               <option value=""></option>
!                               <!-- TMPL_LOOP name="letters" -->
!                                       <!-- TMPL_IF name="selected" -->
!                                               <option value="<!-- TMPL_VAR 
name="code" -->" selected><!-- TMPL_VAR name="name" --></option>
!                                       <!-- TMPL_ELSE -->
!                                               <option value="<!-- TMPL_VAR 
name="code" -->"><!-- TMPL_VAR name="name" --></option>
!                                       <!-- /TMPL_IF -->
!                               <!-- /TMPL_LOOP -->
!                       </select>
!               </p>
                <p class="problem">warning</p>
                <ul>

Index: subscription-detail.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** subscription-detail.tmpl    4 May 2005 08:52:52 -0000       1.8
--- subscription-detail.tmpl    4 Aug 2005 08:54:55 -0000       1.9
***************
*** 15,23 ****
        <h2 class="bull">Subscription information</h2>
                <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" 
--></p>
!               <p><label>Supplier </label><!-- TMPL_VAR 
name="aqbooksellername" --></p>
!               <p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
!               <p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
!               <p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" 
-->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
!               <p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
  </div>
  <div id="bloc25">
--- 15,30 ----
        <h2 class="bull">Subscription information</h2>
                <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" 
--></p>
!               <p><label class="label100">Supplier </label><!-- TMPL_VAR 
name="aqbooksellername" --></p>
!               <p><label class="label100">Cost</label><!-- TMPL_VAR 
name="cost" --></p>
!               <p><label class="label100">Budget </label><!-- TMPL_VAR 
name="bookfundid" --></p>
!               <p><label class="label100">Biblio</label><i>(<!-- TMPL_VAR 
name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
!               <p><label class="label100">Notes:</label><!-- TMPL_VAR 
name="notes" --></p>
!               <p>
!                       <!-- TMPL_IF name="letter" -->
!                               <label class="label100">Issue alert with 
letter:</label><!-- TMPL_VAR name="letter" -->
!                       <!-- TMPL_ELSE -->
!                               <label class="label100">Borrowers can't 
subscribe to issue alerts</label>
!                       <!-- /TMPL_IF -->
!               </p>
  </div>
  <div id="bloc25">




reply via email to

[Prev in Thread] Current Thread [Next in Thread]