source: trunk/gsdl3/extensions/gsdl-as/lib/templates/list.vm@ 8867

Last change on this file since 8867 was 8867, checked in by schweer, 19 years ago

fixed BTS 12: restore subscriptions/predicates from database

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml">
5<head>
6<title>Greenstone Digital Library Software</title>
7<link href="list.css" rel="stylesheet" type="text/css"/>
8</head>
9<body>
10<div id="content">
11<h3>Alerting Service for Greenstone</h3>
12<p>$title</p>
13#foreach($sub in $list)
14 <div class="subscription">
15 <p><span class="sub_id">Subscription $sub.Id</span><br/>
16 <a href="service?action=showFeed&subscriptionID=$sub.Id">show matching events</a> | <a href="service?action=editSubscription&subscriptionID=$sub.Id">edit subscription</a> | <a href="service?action=deleteSubscription&subscriptionID=$sub.Id">delete subscription</a></p>
17 <table class="subscription">
18 <thead>
19 <tr><th>Field</th><th>Predicate</th></tr>
20 </thead>
21 <tfoot><tr><th/><th/></tr></tfoot>
22 <tbody>
23 #foreach($pred in $sub.Predicates)
24 <tr>
25 <td>$pred.Field</td>
26 <td>$pred.Value</td>
27 </tr>
28 #end
29 </tbody>
30 </table>
31 <br/>
32 </div>
33#end
34<a href="/alerting">back</a> to the alerting service
35</div>
36
37</body>
38</html>
Note: See TracBrowser for help on using the repository browser.