Changeset 243:f378986cde18
- Timestamp:
- 17.02.2010 15:15:27 (2 years ago)
- Branch:
- default
- Location:
- djangobb/djangobb_forum
- Files:
-
- 2 edited
-
templates/forum/topic.html (modified) (2 diffs)
-
views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
djangobb/djangobb_forum/templates/forum/topic.html
r217 r243 14 14 <li> 15 15 <a href="{% url djangobb:index %}">{% trans "Root" %} </a></li><li>» {% link topic.forum %} </li><li>» {{ topic.name }} 16 <a href="{% url djangobb:forum_feed "topic" %}{{ topic.id }}/"><img src="{{ MEDIA_URL }} /forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a>16 <a href="{% url djangobb:forum_feed "topic" %}{{ topic.id }}/"><img src="{{ MEDIA_URL }}forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a> 17 17 </li> 18 18 </ul> … … 87 87 {% endif %} 88 88 {% if post.updated %} 89 <p class="postedit"><em>{% trans "Edited" %} {{ post.u ser}} ({% forum_time post.updated %})</em></p>89 <p class="postedit"><em>{% trans "Edited" %} {{ post.updated_by }} ({% forum_time post.updated %})</em></p> 90 90 {% endif %} 91 91 {% if post.attachments.all %} -
djangobb/djangobb_forum/views.py
r241 r243 550 550 form = build_form(EditPostForm, request, topic=topic, instance=post) 551 551 if form.is_valid(): 552 post = form.save() 552 post = form.save(commit=False) 553 post.updated_by = request.user 554 post.save() 553 555 return HttpResponseRedirect(post.get_absolute_url()) 554 556
Note: See TracChangeset
for help on using the changeset viewer.
