Mercurial > agora
comparison templates/bundle/index.djhtml @ 177:86129d185ddb
Add versioning to bundles
Some other bundle-related changes were made, including:
* Editing the snippetform CSS and HTML to allow bundle/form.djhtml to
be reused for editing
* Changing {% block title %} to {% block section %} in the base
template for bundles to allow for more flexibility when creating
breadcrumbs
* Saved common URL patterns in variables in bundle/urls.py
* Renamed explore.html to explore.djhtml for consistency
You should now be able to upload new versions as well as view the files
(or a particular file) for a bundle at a specific version.
Coming soon: the ability to add a timestamp and a comment for each new
uploaded version (if this feature is desirable).
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sat, 20 Oct 2012 23:28:50 -0400 |
parents | c7be7def8b57 |
children |
comparison
equal
deleted
inserted
replaced
176:c042d26e6936 | 177:86129d185ddb |
---|---|
2 {% load i18n %} | 2 {% load i18n %} |
3 | 3 |
4 {% block title %} | 4 {% block title %} |
5 New bundle | 5 New bundle |
6 {% endblock title %} | 6 {% endblock title %} |
7 | |
8 {% block section %} | |
9 New bundle | |
10 {% endblock %} | |
7 | 11 |
8 {% block content %} | 12 {% block content %} |
9 <div id="non-sidebar"> | 13 <div id="non-sidebar"> |
10 <h1>{% trans "Upload a new bundle" %}</h1> | 14 <h1>{% trans "Upload a new bundle" %}</h1> |
11 | 15 |