Add forum signature

This commit is contained in:
Skia 2017-04-12 19:38:54 +02:00
parent 3aa5070a38
commit 44dacce9f2
3 changed files with 14 additions and 1 deletions

View File

@ -460,6 +460,16 @@ textarea {
padding: 2px; padding: 2px;
margin: 2px; margin: 2px;
} }
.forum_signature {
color: #C0C0C0;
border-top: 1px solid #C0C0C0;
}
.forum_signature a {
color: #C0C0C0;
}
.forum_signature a:hover {
text-decoration: underline;
}
/*------------------------------SAS------------------------------------*/ /*------------------------------SAS------------------------------------*/
.album { .album {
display: inline-block; display: inline-block;

View File

@ -127,6 +127,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<div class="forum_signature">{{ m.author.forum_signature|markdown }}</div>
</div> </div>
</div> </div>
{% else %} {% else %}

View File

@ -41,7 +41,9 @@
<strong><a href="{{ user.get_absolute_url() }}">{{ user.get_short_name() }}</a></strong> <strong><a href="{{ user.get_absolute_url() }}">{{ user.get_short_name() }}</a></strong>
</div> </div>
<div class="msg_content"> <div class="msg_content">
<p id="preview" class="ib w_big"></p> <hr>
<div id="preview" class="ib w_big"></div>
<div class="forum_signature">{{ user.forum_signature|markdown }}</div>
</div> </div>
</div> </div>