Changeset fcf0ef3 in OpenWorkouts-current
- Timestamp:
- Sep 30, 2019, 12:16:24 PM (5 years ago)
- Branches:
- current
- Children:
- 715671f
- Parents:
- dba0ae9
- Location:
- ow
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/models/__init__.py
rdba0ae9 rfcf0ef3 2 2 3 3 from ow.models.root import OpenWorkouts 4 from ow.models.bulk import BulkFiles 4 5 from ow.catalog import get_catalog 5 6 … … 8 9 if 'app_root' not in zodb_root: 9 10 app_root = OpenWorkouts() 11 app_root['_bulk_files'] = BulkFiles() 10 12 zodb_root['app_root'] = app_root 11 13 transaction.commit() -
ow/templates/base.pt
rdba0ae9 rfcf0ef3 85 85 <li> 86 86 <a href="" i18n:translate="" 87 tal:attributes="href request.resource_url(request.root, current_user, 'add-bulk-file')"> 88 Bulk upload</a> 89 </li> 90 <li> 91 <a href="" i18n:translate="" 87 92 tal:attributes="href request.resource_url(request.root, current_user, 'add-workout-manually')"> 88 93 Add manually</a>
Note: See TracChangeset
for help on using the changeset viewer.