Ignore:
Timestamp:
20 Sep 2016, 08:33:44 (9 years ago)
Author:
Henrik Bettermann
Message:

Add report purge button.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/reportscontainerpage.pt

    r11254 r14169  
    4747  </tbody>
    4848</table>
     49
    4950<form method="POST" i18n:domain="waeup.kofa">
    50   <a tal:attributes="href python:view.url(context, 'create')"
    51      class="btn btn-primary" i18n:translate="">
    52     Create new report
    53   </a>
     51  <div class="form-group">
     52    <a tal:attributes="href python:view.url(context, 'create')"
     53       class="btn btn-primary" i18n:translate="">
     54      Create new report
     55    </a>
     56    <input type="submit" class="btn btn-default"
     57      name="PURGE" value="Purge outdated reports"
     58      data-toggle="tooltip" title="All reports older than 4 weeks will be discarded!"
     59      onclick="return window.confirm('Are you really sure?')"/>
     60  </div>
    5461</form>
     62
     63
     64
Note: See TracChangeset for help on using the changeset viewer.