mirror of
https://github.com/friendica/friendica
synced 2024-11-18 14:23:41 +00:00
Merge pull request #12869 from damianwajer/calendar-reactions-fix
[frio] Fix calendar attendance icons
This commit is contained in:
commit
d402e66644
2 changed files with 5 additions and 2 deletions
|
@ -2038,7 +2038,10 @@ code > .hl-main {
|
|||
.wall-item-responses > div > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.btn-group-event {
|
||||
display: flex;
|
||||
flex-basis: auto;
|
||||
}
|
||||
/* wall item hover effects */
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
|
|
@ -495,7 +495,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
|
||||
{{* Event attendance buttons *}}
|
||||
{{if $item.isevent}}
|
||||
<div class="btn-group" role="group">
|
||||
<div class="btn-group btn-group-event" role="group">
|
||||
<button type="button" class="btn btn-default button-event{{if $item.responses.attendyes.self}} active" aria-pressed="true{{/if}}" id="attendyes-{{$item.id}}" title="{{$item.attend.0}}" onclick="doActivityItemAction({{$item.id}}, 'attendyes'{{if $item.responses.attendyes.self}}, true{{/if}});"><i class="fa fa-check" aria-hidden="true"><span class="sr-only">{{$item.attend.0}}</span></i></button>
|
||||
<button type="button" class="btn btn-default button-event{{if $item.responses.attendno.self}} active" aria-pressed="true{{/if}}" id="attendno-{{$item.id}}" title="{{$item.attend.1}}" onclick="doActivityItemAction({{$item.id}}, 'attendno'{{if $item.responses.attendno.self}}, true{{/if}});"><i class="fa fa-times" aria-hidden="true"><span class="sr-only">{{$item.attend.1}}</span></i></button>
|
||||
<button type="button" class="btn btn-default button-event{{if $item.responses.attendmaybe.self}} active" aria-pressed="true{{/if}}" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="doActivityItemAction({{$item.id}}, 'attendmaybe'{{if $item.responses.attendmaybe.self}}, true{{/if}});"><i class="fa fa-question" aria-hidden="true"><span class="sr-only">{{$item.attend.2}}</span></i></button>
|
||||
|
|
Loading…
Reference in a new issue