Changeset 12901 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 4 May 2015, 08:24:12 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r12891 r12901 59 59 ISessionConfiguration, ISessionConfigurationAdd, IJobManager, 60 60 IPasswordValidator, IContactForm, IKofaUtils, ICSVExporter, 61 academic_sessions_vocab )61 academic_sessions_vocab, DOCLINK) 62 62 from waeup.kofa.permissions import ( 63 63 get_users_with_local_roles, get_all_roles, get_all_users, … … 891 891 label = _(u'Data Center') 892 892 pnav = 0 893 doclink = DOCLINK + '/datacenter.html' 893 894 894 895 @jsaction(_('Remove selected')) … … 1170 1171 pnav = 0 1171 1172 cancel_button =_(u'Back to Data Center') 1173 doclink = DOCLINK + '/datacenter/import_stages.html' 1172 1174 1173 1175 def getFiles(self): … … 1201 1203 back_button =_(u'Back to step 1') 1202 1204 proceed_button =_(u'Proceed to step 3') 1205 doclink = DOCLINK + '/datacenter/import_stages.html' 1203 1206 1204 1207 filename = None … … 1306 1309 back_button =_(u'Back to step 2') 1307 1310 proceed_button =_(u'Perform import') 1311 doclink = DOCLINK + '/datacenter/import_stages.html' 1308 1312 1309 1313 filename = None … … 1414 1418 pnav = 0 1415 1419 back_button =_(u'Process next') 1420 doclink = DOCLINK + '/datacenter/import_stages.html' 1416 1421 1417 1422 filename = None … … 1477 1482 back_button = _(u'Back to Data Center') 1478 1483 show_button = _(u'Show') 1484 doclink = DOCLINK + '/datacenter/logging.html' 1479 1485 1480 1486 def update(self, back=None): … … 1495 1501 placeholder = _('Enter a regular expression here...') 1496 1502 1503 def doclink(self): 1504 return DOCLINK + ( 1505 '/datacenter/logging.html#%s' % self.filename.replace('.', '-')) 1506 1497 1507 def label(self): 1498 1508 return "Logfile %s" % self.filename … … 1570 1580 export_button = _(u'Create CSV file') 1571 1581 cancel_button =_(u'Back to Data Center') 1582 doclink = DOCLINK + '/datacenter/export.html' 1572 1583 1573 1584 def getExporters(self): -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterlogsshowfilepage.pt
r11254 r12901 2 2 <input type="text" name="query" class="form-control" 3 3 tal:attributes="value view/query; placeholder view/placeholder" /> 4 <br /> 4 5 <input class="btn btn-primary" type="submit" name="search" 5 6 tal:attributes="value view/search_button" /> … … 9 10 tal:attributes="value view/filename" /> 10 11 </form> 11 12 <br /> 12 13 <div tal:condition="view/result|nothing"> 13 14 <pre tal:content="structure view/result"> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/staffsitelayout.pt
r11463 r12901 89 89 <div class="sidebar well"> 90 90 <div tal:condition="layout/getStudentName"> 91 <div class="kofa-sidebar-title" tal:content="layout/getStudentName">STUDENTNAME</div> 91 <div class="kofa-sidebar-title" tal:content="layout/getStudentName"> 92 STUDENTNAME 93 </div> 92 94 <ul class="nav"> 93 95 <tal:left content="structure provider:left_studentmanage" /> … … 95 97 </div> 96 98 <div tal:condition="layout/isAuthenticated"> 97 <div class="kofa-sidebar-title" tal:content="layout/getUserTitle">USERNAME</div> 99 <div class="kofa-sidebar-title" tal:content="layout/getUserTitle"> 100 USERNAME 101 </div> 98 102 <ul class="nav"> 99 103 <tal:left content="structure provider:left_manage" /> … … 132 136 </div> 133 137 <br /> 134 138 <div class="documentation" tal:condition="view/doclink|nothing"> 139 <a href="#" tal:attributes="href view/doclink" 140 i18n:translate="" target="_blank"> 141 Kofa Docs for this page 142 </a> 143 </div> 135 144 </div> 136 145 <!-- /Diazo element-->
Note: See TracChangeset for help on using the changeset viewer.