Changeset 6908


Ignore:
Timestamp:
18 Oct 2011, 20:25:17 (13 years ago)
Author:
Henrik Bettermann
Message:

User proper title and label attributes of views in administration section.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6907 r6908  
    257257    grok.name('add')
    258258    form_fields = grok.AutoFields(IUserAccount)
    259     label = ''
    260     title = 'Add user'
     259    label = 'Add user'
     260    title = 'Portal Users'
    261261
    262262    @grok.action('Add user')
     
    461461    grok.name('upload')
    462462    grok.require('waeup.manageUniversity')
    463     title = u'Data Center Upload'
     463    title = u'Data Center'
     464    label = u'Upload file'
    464465    pnav = 0
    465466
     
    507508    grok.template('datacenterimport1page')
    508509    grok.require('waeup.manageUniversity')
    509     title = u'Process CSV file'
     510    title = u'Data Center'
     511    label = u'Process CSV file'
    510512    pnav = 0
    511513
     
    536538    grok.template('datacenterimport2page')
    537539    grok.require('waeup.manageUniversity')
    538     title = u'Process CSV file'
     540    title = u'Data Center'
     541    label = u'Process CSV file'
    539542    pnav = 0
    540543
     
    653656    grok.template('datacenterimport3page')
    654657    grok.require('waeup.manageUniversity')
    655     title = u'Process CSV file'
     658    title = u'Data Center'
     659    label = u'Process CSV file'
    656660    pnav = 0
    657661
     
    756760    grok.template('datacenterimport4page')
    757761    grok.require('waeup.manageUniversity')
    758     title = u'Process CSV file'
     762    title = u'Data Center'
     763    label = u'Process CSV file'
    759764    pnav = 0
    760765
     
    810815    grok.template('datacenterlogspage')
    811816    grok.require('waeup.manageUniversity')
    812     title = u'Data Center Logs'
     817    title = u'Data Center'
     818    label = u'Show logfiles'
    813819    pnav = 0
    814820
     
    830836    grok.template('datacenterlogsshowfilepage')
    831837    grok.require('waeup.manageUniversity')
    832     title = u'Show file'
     838    title = u'Data Center'
    833839    pnav = 0
    834840
     
    849855    grok.template('datacentermanagepage')
    850856    grok.require('waeup.manageUniversity')
    851     title = u'Data Center Settings'
     857    title = u'Data Center'
     858    label = 'Edit data center settings'
    852859    pnav = 0
    853860
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r6829 r6908  
    1 <h2>Process CSV file</h2>
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
    24<h3>Step 1</h3>
    35<p>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r6829 r6908  
    1 <h2>Process CSV file</h2>
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
    24<h3>Step 2</h3>
    35<form method="POST">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport3page.pt

    r6829 r6908  
    1 <h2>Process CSV file</h2>
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
    24<h3>Step 3</h3>
    35<form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport4page.pt

    r6853 r6908  
    1 <h2>Process CSV file</h2>
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
    24<h3>Step 4</h3>
    35<p>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt

    r5927 r6908  
    1 <p>
    2   Here you can see the local logfiles.
    3 </p>
    4 <p>
    5   Use the buttons on the right to examine the files.
    6 </p>
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
    74
    85<div tal:define="files view/files">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacentermanagepage.pt

    r5927 r6908  
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
     4
    15<form method="POST">
    26  <div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenteruploadpage.pt

    r5927 r6908  
     1<h2 i18n:translate=""
     2tal:condition="view/label"
     3tal:content="view/label">Label</h2>
     4
    15<form method="post" enctype="multipart/form-data">
    26  <input type="file" name="uploadfile:file" />
Note: See TracChangeset for help on using the changeset viewer.