diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /templates/blubber | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'templates/blubber')
| -rw-r--r-- | templates/blubber/global_context.php | 2 | ||||
| -rw-r--r-- | templates/blubber/private_context.php | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/templates/blubber/global_context.php b/templates/blubber/global_context.php index 77c4a29..4a52407 100644 --- a/templates/blubber/global_context.php +++ b/templates/blubber/global_context.php @@ -7,6 +7,8 @@ onClick="STUDIP.Blubber.followunfollow('global'); return false;" class="followunfollow<?= $unfollowed ? " unfollowed" : "" ?>" title="<?= _("Benachrichtigungen für diese Konversation abstellen.") ?>" + aria-pressed="<?= $unfollowed ? 'false' : 'true' ?>" + role="button" data-thread_id="global"> <?= Icon::create("decline")->asImg(20, ['class' => "follow text-bottom"]) ?> <?= Icon::create("notification2")->asImg(20, ['class' => "unfollow text-bottom"]) ?> diff --git a/templates/blubber/private_context.php b/templates/blubber/private_context.php index 5984f13..b9a5ba9 100644 --- a/templates/blubber/private_context.php +++ b/templates/blubber/private_context.php @@ -1,7 +1,7 @@ <div class="blubber_private_info indented"> <div class="icon"> - <?= Icon::create("group3", "info")->asImg(50, ['title' => _("Dies ist ein privater Blubber.")]) ?> + <?= Icon::create('group3', Icon::ROLE_INFO)->asImg(50, ['title' => _('Dies ist ein privater Blubber.')]) ?> </div> <ul class="clean members"> @@ -13,7 +13,7 @@ <? $user = User::find($mention['user_id']) ?> <? if ($user) : ?> <? if ($user->getId() !== $GLOBALS['user']->id && count($mentions) > 2) : ?> - <a class="float_right" href="<?= URLHelper::getLink("dispatch.php/blubber/write_to/".$user->getId()) ?>" data-dialog title="<?= _("Anblubbern") ?>"> + <a class="float_right" href="<?= URLHelper::getLink("dispatch.php/blubber/write_to/". $user->getId()) ?>" data-dialog title="<?= _("Anblubbern") ?>"> <?= Icon::create("blubber", "clickable")->asImg(20, ['class' => "text-bottom"]) ?> </a> <? endif ?> @@ -23,7 +23,7 @@ data-dialog="size=auto" title="<?= _("Gruppe verlassen") ?>" data-confirm="<?= _("Private Konversation wirklich verlassen?") ?>"> - <?= Icon::create("door-leave", "clickable")->asImg(20, ['class' => "text-bottom"]) ?> + <?= Icon::create('door-leave')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> <a href="<?= URLHelper::getLink("dispatch.php/profile", ['username' => $user['username']]) ?>"> @@ -38,8 +38,8 @@ </li> <? endforeach ?> <li> - <a href="<?= URLHelper::getLink("dispatch.php/blubber/add_member_to_private/".$thread->getId()) ?>" data-dialog> - <?= Icon::create("add", "clickable")->asImg(25, ['class' => "text-bottom"]) ?> + <a href="<?= URLHelper::getLink("dispatch.php/blubber/add_member_to_private/".$thread->getId()) ?>" data-dialog="width=600;height=300"> + <?= Icon::create('add')->asImg(25, ['class' => 'text-bottom']) ?> </a> </li> </ul> @@ -53,4 +53,4 @@ <?= _("Aus diesem Blubber eine Studiengruppe machen.") ?> </a> </div> -<? endif ?>
\ No newline at end of file +<? endif ?> |
