Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweaks to the templates and addition of more tests
- Loading branch information
Showing
41 changed files
with
398 additions
and
54 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Binary file not shown.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
import os | ||
|
||
DEBUG = os.environ['SERVER_SOFTWARE'].startswith('Dev') | ||
# when running the tests we don't have the environment variable available | ||
try: | ||
debug = os.environ['SERVER_SOFTWARE'].startswith('Dev') | ||
except KeyError: | ||
debug = False | ||
|
||
DEBUG = debug | ||
|
||
# enable or disable the memcache here, useful for debugging | ||
CACHE = not os.environ['SERVER_SOFTWARE'].startswith('Dev') | ||
CACHE = not debug | ||
|
||
# URL of the current system, used in feeds | ||
SYSTEM_URL = "http://gitbug.appspot.com" |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{% if projects %} | ||
<ul class="projects"> | ||
{% for project in projects %} | ||
<li><a href="/projects/{{project.slug}}/">{{project.name}}</a> <span>Created on {{project.created_date|date:"jS F Y"}} | Issues: {{project.open_issues.count}}</span></li> | ||
<li><a href="/projects/{{project.slug}}/">{{project.name}}</a> <span>Created on {{project.created_date|date:"jS F Y"}} | Issues: {{project.open_issues.count}}</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.