mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17317] Replace button with small red fa-icon
Updated the button to a small red X using Font Awesome rather than using the default phpBB button with text which adds a better visual distinction in the interface between the username and action. Credit to @iMattPro for the suggestion in the ticket comments. PHPBB3-17317
This commit is contained in:
parent
40ed6c6458
commit
9fcf956888
1 changed files with 10 additions and 2 deletions
|
@ -31,7 +31,11 @@
|
|||
<ul class="recipients">
|
||||
<!-- BEGIN to_recipient -->
|
||||
<li>
|
||||
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="{L_REMOVE}" class="button2" /><!-- ENDIF -->
|
||||
<!-- IF not S_EDIT_POST -->
|
||||
<button type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]">
|
||||
<i class="icon fa-times icon-red" aria-hidden="true"></i><span class="sr-only">{L_REMOVE}</span>
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}" style="color: {{ to_recipient.COLOUR }}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF -->
|
||||
</li>
|
||||
<!-- END to_recipient -->
|
||||
|
@ -48,7 +52,11 @@
|
|||
<ul class="recipients">
|
||||
<!-- BEGIN bcc_recipient -->
|
||||
<li>
|
||||
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="{L_REMOVE}" class="button2" /><!-- ENDIF -->
|
||||
<!-- IF not S_EDIT_POST -->
|
||||
<button type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]">
|
||||
<i class="icon fa-times icon-red" aria-hidden="true"></i><span class="sr-only">{L_REMOVE}</span>
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}" style="color: {{ bcc_recipient.COLOUR }}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF -->
|
||||
</li>
|
||||
<!-- END bcc_recipient -->
|
||||
|
|
Loading…
Add table
Reference in a new issue