Skip to content

Commit

Permalink
add link to history on index
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonthomas committed Aug 7, 2012
1 parent 6673634 commit 0fb9d46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chief.py
Expand Up @@ -102,4 +102,5 @@ def history(webapp):
else:
app_settings = settings.WEBAPPS[webapp]
results = get_history(webapp, app_settings)
return render_template("history.html", results=results)
return render_template("history.html", app_name=webapp,
results=results)
1 change: 1 addition & 0 deletions templates/history.html
@@ -1,5 +1,6 @@
<html>
<head>
<title>CHIEF - {{ app_name }}: history</title>
<style type="text/css">
#table {
border: 1px solid #DFDFDF;
Expand Down
1 change: 1 addition & 0 deletions templates/index.html
Expand Up @@ -75,3 +75,4 @@ <h1>Hi, I'm the chief of {{ app_name }}.</h1>
<br>
<button title="BIG RED BUTTON"></button>
</form>
<small><a href='{{ app_name }}/history'>history</a></small>

0 comments on commit 0fb9d46

Please sign in to comment.