|
Revision 2066, 2.1 kB
(checked in by bchoate, 19 months ago)
|
|
Closed some li tags on the This Is You widget. Thanks, Su! BugId:79423
|
-
Property svn:keywords set to
Id Revision
|
| Line | |
|---|
| 1 | <mtapp:widget class="widget you-widget" label="<__trans phrase="This is you">" can_close="1"> |
|---|
| 2 | <div class="user-pic"> |
|---|
| 3 | <img src="<mt:if name="author_userpic_url"><mt:var name="author_userpic_url" escape="html"><mt:else><mt:var name="static_uri">images/default-userpic-50.jpg</mt:if>" width="<mt:var name="author_userpic_width">" height="<mt:var name="author_userpic_height">" alt="" /> |
|---|
| 4 | </div> |
|---|
| 5 | <div class="user-stats"> |
|---|
| 6 | <h4><mt:var name="author_display_name" escape="html"></h4> |
|---|
| 7 | <ul class="user-stats-list"> |
|---|
| 8 | <mt:if name="last_post_id"> |
|---|
| 9 | <li><__trans phrase="Your <a href="[_1]">last entry</a> was [_2] in <a href="[_3]">[_4]</a>." params="<mt:var name="script_url">?__mode=view&_type=entry&id=<mt:var name="last_post_id">&blog_id=<mt:var name="last_post_blog_id">%%<mt:date ts="$last_post_ts" relative="1" offset_blog_id="$last_post_blog_id">%%<mt:var name="script_url">?blog_id=<$mt:var name="last_post_blog_id"$>%%<$mt:var name="last_post_blog_name"$>"></li> |
|---|
| 10 | </mt:if> |
|---|
| 11 | <mt:if name="draft_count"> |
|---|
| 12 | <li><__trans phrase="You have <a href="[_1]">[quant,_2,draft,drafts]</a>." params="<mt:var name="script_url">?__mode=list_entry&filter=status&filter_val=1%%<mt:var name="draft_count">"></li> |
|---|
| 13 | </mt:if> |
|---|
| 14 | <mt:if name="publish_count"> |
|---|
| 15 | <mt:if name="comment_count"> |
|---|
| 16 | <li><__trans phrase="You've written <a href="[_1]">[quant,_2,entry,entries]</a> with <a href="[_3]">[quant,_4,comment,comments]</a>." params="<mt:var name="script_url">?__mode=list_entry&filter_key=my_posts%%<mt:var name="publish_count">%%<mt:var name="script_url">?__mode=list_comment&filter_key=my_posts%%<mt:var name="comment_count">"></li> |
|---|
| 17 | <mt:else> |
|---|
| 18 | <li><__trans phrase="You've written <a href="[_1]">[quant,_2,entry,entries]</a>." params="<mt:var name="script_url">?__mode=list_entry%%<mt:var name="publish_count">"></li> |
|---|
| 19 | </mt:if> |
|---|
| 20 | </mt:if> |
|---|
| 21 | </ul> |
|---|
| 22 | <p><a href="<$mt:var name="mt_url"$>?__mode=view&_type=author&id=<$mt:var name="author_id"$>"><__trans phrase="Edit your profile"></a></p> |
|---|
| 23 | </div> |
|---|
| 24 | </mtapp:widget> |
|---|