"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/devel/html/keyword.index.html" (26 Aug 2019, 1558 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <tal:block metal:use-macro="templates/page/macros/frame">
    2 <title metal:fill-slot="head_title" >
    3   <span tal:omit-tag="true" i18n:translate="" >List of keywords</span>
    4   <span tal:condition="request/dispname"
    5    tal:replace="python:' - %s '%request.dispname"
    6   /> - <span tal:replace="config/TRACKER_NAME" />
    7 </title>
    8 <span metal:fill-slot="body_title" tal:omit-tag="true">
    9   <span tal:omit-tag="true" i18n:translate="" >List of keywords</span>
   10   <span tal:condition="request/dispname"
   11    tal:replace="python:' - %s' % request.dispname" />
   12 </span>
   13 <tal:block metal:fill-slot="content">
   14 
   15 <p tal:condition="python:not (context.is_view_ok()
   16  or request.user.hasRole('Anonymous'))" i18n:translate="">
   17  You are not allowed to view this page.</p>
   18 
   19 <p tal:condition="python:not context.is_view_ok()
   20  and request.user.hasRole('Anonymous')" i18n:translate="">
   21  Please login with your username and password.</p>
   22 
   23 <table width="100%" tal:condition="context/is_view_ok" class="list">
   24 <tr>
   25  <th i18n:translate="">Keyword</th>
   26  <th i18n:translate="">Description</th>
   27 </tr>
   28 
   29 <tal:block repeat="keyword context/list">
   30 <tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6//3]">
   31  <td>
   32   <a tal:attributes="href string:keyword${keyword/id}"
   33      tal:content="keyword/name">keyword name</a>
   34  </td>
   35  <td tal:content="python:keyword.description.plain() or
   36      default">&nbsp;</td>
   37 </tr>
   38 </tal:block>
   39 
   40 <tr tal:condition="context/is_edit_ok">
   41    <td colspan="2"><a href="keyword?@template=item">New Keyword</a></td>
   42 </tr>
   43 </table>
   44 
   45 </tal:block>
   46 </tal:block>