Browse files

displays author's full name

  • Loading branch information...
1 parent 41b6228 commit 3f304469efa34669029cf90c4435c048d71d69e2 @oppianmatt oppianmatt committed Nov 20, 2009
View
44 apps/basic/blog/templates/blog/base_blog.html
@@ -6,29 +6,29 @@
{% block head_extra %}
<link href="{{ MEDIA_URL }}css/blog.css" rel="stylesheet" type="text/css" media="screen" />
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shCore.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushBash.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushCpp.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushCSharp.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushCss.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushDelphi.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushDiff.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushGroovy.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushJava.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushJScript.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushObjC.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushPhp.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushPlain.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushPython.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushRuby.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushScala.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushSql.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushVb.js"></script>
- <script type="text/javascript" src="{{ MEDIA_URL }}/syntax/scripts/shBrushXml.js"></script>
- <link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}/syntax/styles/shCore.css"/>
- <link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}/syntax/styles/shThemeDefault.css"/>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shCore.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushBash.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushCpp.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushCSharp.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushCss.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushDelphi.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushDiff.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushGroovy.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushJava.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushJScript.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushObjC.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushPhp.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushPlain.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushPython.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushRuby.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushScala.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushSql.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushVb.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}syntax/scripts/shBrushXml.js"></script>
+ <link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}syntax/styles/shCore.css"/>
+ <link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}syntax/styles/shThemeDefault.css"/>
<script type="text/javascript">
- SyntaxHighlighter.config.clipboardSwf = '{{ MEDIA_URL }}/syntax/scripts/clipboard.swf';
+ SyntaxHighlighter.config.clipboardSwf = '{{ MEDIA_URL }}syntax/scripts/clipboard.swf';
SyntaxHighlighter.all();
</script>
{% endblock %}
View
2 apps/basic/blog/templates/blog/post_detail.html
@@ -24,7 +24,7 @@
{% get_comment_count for object as comment_count %}
<ul class="post_info">
<li class="date">
- Posted by {{ object.author }}
+ Posted by {{ object.author.get_full_name }}
on {{ object.publish|date:"Y.m.d" }}
</li>
<li class="comments">
View
2 apps/basic/blog/templates/blog/post_list.html
@@ -36,7 +36,7 @@
<a href="{{ post.get_absolute_url }}"><h3>{{ post.title }}</h3></a>
<ul class="post_info">
- <li class="date">Posted by {{ post.author }} on {{ post.publish|naturalday }}</li>
+ <li class="date">Posted by {{ post.author.get_full_name }} on {{ post.publish|naturalday }}</li>
<li class="comments">{{ comment_count }} comment{{ comment_count|pluralize:',s' }}</li>
</ul>
<p class="paragraphText">{{ post.tease }}</p>

0 comments on commit 3f30446

Please sign in to comment.