Skip to content

Commit

Permalink
more list display refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
billsaysthis committed Apr 19, 2010
1 parent 80ca9ec commit 85b1a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/style.css
Expand Up @@ -38,4 +38,4 @@ h4 { font-size: smaller; }
.update-block {border-bottom: 1px solid #ff0000;}

#add-log textarea {width: 300px;}
.margin-left: 20px; {margin-left: 20px;}
.log-comment {margin-left: 20px;}
3 changes: 2 additions & 1 deletion templates/main.html
Expand Up @@ -6,9 +6,10 @@
<input type="submit" value="Add Log" />
</form>

<h3>Recent Entries</h3>

{% regroup updates by create_date as grouped_updates %}
{% for updates in grouped_updates %}
<h3>Recent Entries</h3>
<h4>{% ifequal updates.grouper today.date %}<span class="underlined">Today</span> - {% endifequal %}{{updates.grouper|date:"l, F j"}}</h4>
{% for update in updates.list %}
<div class='update-block'>
Expand Down

0 comments on commit 85b1a54

Please sign in to comment.