[ticket/10620] Moved quote's date to the upper corner

PHPBB3-10620
This commit is contained in:
JoshyPHP 2015-06-25 02:23:00 +02:00
parent 1f6b9bc048
commit 9d364aee4a
3 changed files with 9 additions and 2 deletions

View file

@ -19,7 +19,6 @@
<div> <div>
<xsl:if test="@author"> <xsl:if test="@author">
<cite> <cite>
<xsl:if test="@date"><xsl:value-of select="@date"/> </xsl:if>
<xsl:choose> <xsl:choose>
<xsl:when test="@url"> <xsl:when test="@url">
<a href="{@url}" class="postlink"><xsl:value-of select="@author"/></a> <a href="{@url}" class="postlink"><xsl:value-of select="@author"/></a>
@ -38,6 +37,9 @@
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<a href="{@post_url}" data-post-id="{@post_id}" onclick="if(document.getElementById(hash.substr(1)))href=hash">&#8593;</a> <a href="{@post_url}" data-post-id="{@post_id}" onclick="if(document.getElementById(hash.substr(1)))href=hash">&#8593;</a>
</xsl:if> </xsl:if>
<xsl:if test="@date">
<div class="responsive-hide"><xsl:value-of select="@date"/></div>
</xsl:if>
</cite> </cite>
</xsl:if> </xsl:if>
<xsl:apply-templates/> <xsl:apply-templates/>

View file

@ -486,6 +486,11 @@ blockquote.uncited {
padding-top: 25px; padding-top: 25px;
} }
blockquote cite > div {
float: right;
font-weight: normal;
}
/* Code block */ /* Code block */
.codebox { .codebox {
padding: 3px; padding: 3px;

View file

@ -236,7 +236,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
), ),
array( array(
'[quote=Username time=58705871]...[/quote]', '[quote=Username time=58705871]...[/quote]',
'<blockquote><div><cite>1971-11-11 11:11:11 Username wrote:</cite>...</div></blockquote>' '<blockquote><div><cite>Username wrote:<div class="responsive-hide">1971-11-11 11:11:11</div></cite>...</div></blockquote>'
), ),
array( array(
'[quote=Username user_id=123]...[/quote]', '[quote=Username user_id=123]...[/quote]',