mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 05:31:48 +02:00
Change title for schedule/scheduled pages
This commit is contained in:
parent
60a2895b1f
commit
ee02589df6
3 changed files with 6 additions and 5 deletions
|
@ -274,7 +274,8 @@ class FediPlanController extends AbstractController
|
|||
)]
|
||||
public function scheduled(): Response
|
||||
{
|
||||
return $this->render("fediplan/scheduled.html.twig");
|
||||
$user = $this->getUser();
|
||||
return $this->render("fediplan/scheduled.html.twig", [ 'instance' => $user->getInstance(),]);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% block content %}
|
||||
{% set instanceConfiguration = app.session.get("instance").getConfiguration() %}
|
||||
{% include 'nav.html.twig' %}
|
||||
<h3>Schedule for <i><img class="" width="30" src="{{ app.user.avatar }}" alt="{{ app.user.avatar }}"/> {{ convertAccountEmoji(app.user, app.user.displayName) | raw }} (@{{ app.user.acct}}@{{ instance }})</i></h3>
|
||||
<h3>{{ 'common.schedule'|trans }} <span class="border rounded border-light" style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px; margin-right: 5px;"><img width="30" src="{{ app.user.avatar }}" alt="{{ app.user.avatar }}"/> {{ convertAccountEmoji(app.user, app.user.displayName) | raw }} </span><small><span class="badge text-bg-light">@{{ app.user.acct}}@{{ instance }}</span></small></h3>
|
||||
|
||||
{% for type, messages in app.session.flashbag.all() %}
|
||||
{% for message in messages %}
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
{% block content %}
|
||||
{% include 'nav.html.twig' %}
|
||||
<h1>{{ 'common.scheduled'|trans }}</h1>
|
||||
{% set instanceConfiguration = app.session.get("instance").getConfiguration() %}
|
||||
<h3>{{ 'common.scheduled'|trans }} <span class="border rounded border-light" style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px; margin-right: 5px;"><img width="30" src="{{ app.user.avatar }}" alt="{{ app.user.avatar }}"/> {{ convertAccountEmoji(app.user, app.user.displayName) | raw }} </span><small><span class="badge text-bg-light">@{{ app.user.acct}}@{{ instance }}</span></small></h3>
|
||||
|
||||
|
||||
|
||||
<div class="row container">
|
||||
<div class="row container"style="margin-top: 30px;">
|
||||
<div class="col-md-12" id="content"></div>
|
||||
</div>
|
||||
<div class="row container hide" id="loader" style="text-align: center;margin-top: 50px;"><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue