Commit b9c8b63cfcc0d6c8be877493425fd20b2ecdffac
- Diff rendering mode:
- inline
- side by side
public/assets/css/style.css
(5 / 2)
|   | |||
| 143 | 143 | border: none; | |
| 144 | 144 | } | |
| 145 | 145 | ||
| 146 | .id-op { float: right; } | ||
| 146 | .id-op { float: right; margin: 1em; } | ||
| 147 | 147 | ||
| 148 | 148 | .clear { clear: both; } | |
| 149 | 149 | .codehilite { padding : 1px 12px; } | |
| … | … | ||
| 206 | 206 | background-color: #FFA468; | |
| 207 | 207 | } | |
| 208 | 208 | ||
| 209 | .header-first-post { color : #666; } | ||
| 209 | |||
| 210 | .header-first-post { float : right } | ||
| 211 | |||
| 212 | .date-first-post { color : #666; } | ||
| 210 | 213 | ||
| 211 | 214 | /* Homepage */ | |
| 212 | 215 |
templates/forum/topic.html
(6 / 1)
|   | |||
| 36 | 36 | ||
| 37 | 37 | <div class="id-op">{{ topic.author|author_link:"pseudo-op|Auteur du topic" }}<br /> | |
| 38 | 38 | {% if head.author.get_profile.avatar %}<img src="{{ head.author.get_profile.avatar }}" alt="Avatar" class="avatar-op" />{% endif %}</div> | |
| 39 | <span class="header-first-post">{% humane_date topic.creation %} </span> {% ifequal topic.author user %} - <a href="{% url forum.views.edit post_id=head.id %}">Éditer</a>{% endifequal %} {% if user.is_staff %}{% ifnotequal head.author user %} - <a href="{% url forum.views.edit post_id=head.id %}">Éditer</a>{% endifnotequal %}{% endif %} - <a href="{% url forum.views.source post_id=head.id %}">Source</a><br/> | ||
| 39 | <id class="header-first-post"> | ||
| 40 | {% ifequal topic.author user %}<a href="{% url forum.views.edit post_id=head.id %}">Éditer</a> -{% endifequal %} | ||
| 41 | {% if user.is_staff %}{% ifnotequal head.author user %}<a href="{% url forum.views.edit post_id=head.id %}">Éditer</a> -{% endifnotequal %}{% endif %} | ||
| 42 | <a href="{% url forum.views.source post_id=head.id %}">Source</a> - | ||
| 43 | <span class="date-first-post">{% humane_date topic.creation %} </span> | ||
| 44 | <br/></div> | ||
| 40 | 45 | <div class="message">{{ head.texte|markext }}</div> | |
| 41 | 46 | {% if utiles %} | |
| 42 | 47 | <h3 class="clear utiles">Réponses qui ont aidé l'auteur</h3> |

