1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

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

View File

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

View File

@ -236,7 +236,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
),
array(
'[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(
'[quote=Username user_id=123]...[/quote]',