Commit 5b55538ce107fc1f6da2e77d290856789815cde6
1 parent
a9fec364
Exists in
master
and in
13 other branches
Adding TODOS to trac's ifs
Signed-off-by: Matheus Faria <matheus.sousa.faria@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@hotmail.com>
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
src/home/views.py
| ... | ... | @@ -26,7 +26,7 @@ def index(request): |
| 26 | 26 | count_types['thread'] = SearchQuerySet().filter( |
| 27 | 27 | type='thread', |
| 28 | 28 | ).count() |
| 29 | - | |
| 29 | + # TODO: this section should be inside trac app and only use it here | |
| 30 | 30 | if settings.TRAC_ENABLED: |
| 31 | 31 | for type in ['changeset', 'attachment']: |
| 32 | 32 | count_types[type] = SearchQuerySet().filter( | ... | ... |
src/search/views.py
src/templates/base.html
| ... | ... | @@ -90,6 +90,7 @@ |
| 90 | 90 | {% endif %} |
| 91 | 91 | <li><a href="/roadmap">{% trans "Roadmap" %}</a></li> |
| 92 | 92 | <li><a href="/browser">{% trans "Browse Source" %}</a></li> |
| 93 | + <!-- TODO: Must be optional like trac and separated --!> | |
| 93 | 94 | <li><a href="/ci">{% trans "Continuous Integration" %}</a></li> |
| 94 | 95 | </ul> |
| 95 | 96 | </li> | ... | ... |