- Timestamp:
- 8 Jan 2012, 15:53:12 (13 years ago)
- Location:
- main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/fileupload.pt
r7319 r7442 21 21 tal:attributes="id python:('delete_%s' % viewlet.input_name); 22 22 name python:('delete_%s' % viewlet.input_name)" 23 value="Delete attachment" class="b utton" />23 value="Delete attachment" class="btn" /> 24 24 <input type="submit" 25 25 tal:attributes="id python:('upload_%s' % viewlet.input_name); 26 26 name python:('upload_%s' % viewlet.input_name)" 27 value="Upload new file" class="b utton" />27 value="Upload new file" class="btn" /> 28 28 <span i18n:translate=""> 29 29 Max. file size: -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/viewlets.py
r7366 r7442 57 57 def render(self): 58 58 url = self.view.url(self.context.getStudent(), self.link) 59 return u'< div class="portlet"><a href="%s">%s</a></div>' % (59 return u'<li><a href="%s">%s</a></li>' % ( 60 60 url, self.text) 61 61 … … 75 75 if slip: 76 76 url = self.view.url(self.context,self.link) 77 return u'< div class="portlet"><a href="%s">%s</a></div>' % (77 return u'<li"><a href="%s">%s</a></li>' % ( 78 78 url, self.text) 79 79 return ''
Note: See TracChangeset for help on using the changeset viewer.