Changeset 2755 in products
- Timestamp:
- Aug 17, 2010 12:39:41 PM (14 years ago)
- Location:
- quintagroup.portlet.collection/trunk/quintagroup/portlet/collection
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/browser/resources/batch.js
r2749 r2755 18 18 19 19 var bind_prev_handler = function(link, index){ 20 if (index == 0) { 21 jq(link).hide(); 22 } 20 if (index == 0) jq(link).hide(); 23 21 jq(link).unbind(); 24 22 jq(link).click(function(e) { … … 33 31 }; 34 32 var bind_next_handler = function(link, index){ 35 if (index == nav_links.size()-1) { 36 jq(link).hide(); 37 } 33 if (index == nav_links.size()-1) jq(link).hide(); 38 34 jq(link).unbind(); 39 35 jq(link).click(function(e) { -
quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/collection.pt
r2740 r2755 3 3 tal:define="collection_url view/collection_url; 4 4 styling view/data/styling" 5 tal:attributes="class string:${attrs/class} ${styling}">5 tal:attributes="class python: styling and '%s %s'% (attrs['class'], styling) or attrs['class']"> 6 6 7 7 <dt class="portletHeader"> -
quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/vocabularies.py
r1572 r2755 21 21 implements(IVocabularyFactory) 22 22 23 23 24 24 def __call__(self, context): 25 25 styles = getStylesVocabulary(context) … … 34 34 value = value.decode(charset) 35 35 items.append(SimpleTerm(value, value, _(title))) 36 return SimpleVocabulary(items)37 38 items = [SimpleTerm(value, value, title) for value, title in PORTLET_CSS_STYLES]39 36 return SimpleVocabulary(items) 40 37
Note: See TracChangeset
for help on using the changeset viewer.