[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull viewalerts.tmpl,NONE,1.1 subscription-detail.tmpl,1.10,1.11

Paul POULAIN tipaul at users.sourceforge.net
Fri Aug 5 16:47:26 CEST 2005


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

Modified Files:
	subscription-detail.tmpl 
Added Files:
	viewalerts.tmpl 
Log Message:
2 new features :
- a mail is sent everytime an issue if recieved in serial module. The mail is sent to all borrowers that have put an alert on the subscription (remember that you can put an alert only if the librarian have defined a "letter" as mail to send)
- the librarian can see, for a given subscription, who has put an alert.


--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="bull-top.inc" -->

<div id="mainbloc">
		<h1 class="bull">Alert subscribers for <!-- TMPL_VAR name="bibliotitle" --></h1>
		<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">subscription</a>
		<div class="bloc25">
		<!-- TMPL_IF name="alertloop" -->
			<table>
			<tr>
				<th class="bull">Borrower name</th>
				<th class="bull">&nbsp;</th>
			</tr>

			<!-- TMPL_LOOP NAME="alertloop" -->
				<tr>
					<td><!-- TMPL_VAR name="name" --></td>
					<td><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR name="borrowernumber">" class="button bull">View</a></td>
				</tr>
			<!-- /TMPL_LOOP -->
			</table>
		<!-- TMPL_ELSE -->
			Nobody
		<!-- /TMPL_IF -->
		</div>

	
</div>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

Index: subscription-detail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** subscription-detail.tmpl	4 Aug 2005 13:50:37 -0000	1.10
--- subscription-detail.tmpl	5 Aug 2005 14:47:24 -0000	1.11
***************
*** 2,10 ****
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription</h1>
  <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Modify subscription">Edit</a>
  <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Receive</a>
  <a href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="All issues on this title">Issue history</a>
  <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
  <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
  <!-- TMPL_UNLESS name="totalissues" -->
--- 2,13 ----
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
  <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Modify subscription">Edit</a>
  <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Receive</a>
  <a href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="All issues on this title">Issue history</a>
  <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Subscriptions</a>
+ <!-- TMPL_IF name="letter" -->
+ 	<a href="viewalerts.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Alerted borrowers</a>
+ <!-- /TMPL_IF -->
  <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Back to biblio</a>
  <!-- TMPL_UNLESS name="totalissues" -->
***************
*** 22,25 ****
--- 25,35 ----
  		<p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
  		<p><label>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">





More information about the Koha-cvs mailing list