resize the commenter's image with css;
svn path=/plone.app.discussion/trunk/; revision=27191
This commit is contained in:
parent
2ecd5e76a5
commit
4d0541bfd8
@ -19,14 +19,13 @@
|
|||||||
style string:margin-left: ${depth}em;
|
style string:margin-left: ${depth}em;
|
||||||
id string:comment-${reply/id}">
|
id string:comment-${reply/id}">
|
||||||
|
|
||||||
|
<div class="commentImage" tal:condition="not:anonymous_creator">
|
||||||
<tal:authorimage tal:condition="not:anonymous_creator">
|
|
||||||
<a href="" tal:attributes="href author_home_url">
|
<a href="" tal:attributes="href author_home_url">
|
||||||
<img src="" alt=""
|
<img src="" alt=""
|
||||||
tal:attributes="src string:${context/portal_url}/portal_memberdata/portraits/${reply/author_username};
|
tal:attributes="src string:${context/portal_url}/portal_memberdata/portraits/${reply/author_username};
|
||||||
alt reply/creator" />
|
alt reply/creator" />
|
||||||
</a>
|
</a>
|
||||||
</tal:authorimage>
|
</div>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<a name="comments" tal:attributes="name reply/title">
|
<a name="comments" tal:attributes="name reply/title">
|
||||||
|
@ -1,5 +1,19 @@
|
|||||||
/* plone.app.discussion stylesheet */
|
/* plone.app.discussion stylesheet */
|
||||||
|
|
||||||
|
|
||||||
|
/* Comments Viewlet
|
||||||
|
---------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.commentImage {
|
||||||
|
}
|
||||||
|
|
||||||
|
.commentImage img {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
---------------------------------------------------------------- */
|
||||||
|
|
||||||
.reply-to-comment-button {
|
.reply-to-comment-button {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: -2.5em;
|
margin-top: -2.5em;
|
||||||
|
Loading…
Reference in New Issue
Block a user