Mercurial > agora-palash
changeset 124:41aff926a5ab
Merge in changes from jordi's repo
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Fri, 14 Sep 2012 22:49:34 -0400 |
parents | 397af252406e (current diff) 1abdcf1cf5cb (diff) |
children | 8aa8c6dd2b02 |
files | templates/index.djhtml |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/apps/snippet/highlight.py Fri Sep 14 22:23:09 2012 -0400 +++ b/apps/snippet/highlight.py Fri Sep 14 22:49:34 2012 -0400 @@ -9,6 +9,7 @@ ('bash', 'bash'), ('c', 'C'), ('c++', 'C++'), + ('diff', 'patch or diff'), ('java', 'Java'), ('matlab', 'MATLAB'), ('octave', 'Octave'),
--- a/templates/index.djhtml Fri Sep 14 22:23:09 2012 -0400 +++ b/templates/index.djhtml Fri Sep 14 22:49:34 2012 -0400 @@ -34,10 +34,12 @@ as octave packages. More text to fill up line. </p> </div><div class="span3"> - <div class="center-align"> - <img src="/static/img/snippet.png" alt="" /> - <h2>Post a snippet</h2> - </div> + <a href="{% url snippet_new %}"> + <div class="center-align"> + <img src="/static/img/snippet.png" alt="" /> + <h2>Post a snippet</h2> + </div> + </a> <p> Just want to post a quick snippet of code? Do it in the pastebin. You don't even have to be registered. Though we'd need some sort