Skip to content
Snippets Groups Projects
Commit 2b25082b authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by André Noack
Browse files

Resolve "Datentabellen im Bereich "Forum" sind nicht korrekt aufgebaut/beschriftet"

Closes #4089

Merge request studip/studip!2933
parent 42d1af6c
No related branches found
No related tags found
No related merge requests found
...@@ -46,17 +46,18 @@ ...@@ -46,17 +46,18 @@
<col> <col>
<col> <col>
<col class="hidden-tiny-down"> <col class="hidden-tiny-down">
<col> <col style="width: 20px">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th colspan="2"> <?= _('Name des Bereichs') ?></th> <th></th>
<th> <?= _('Name des Bereichs') ?></th>
<th data-type="answers"><?= _("Beiträge") ?></th> <th data-type="answers"><?= _("Beiträge") ?></th>
<th data-type="last_posting" class="hidden-tiny-down"> <th data-type="last_posting" class="hidden-tiny-down">
<?= _("letzte Antwort") ?> <?= _("letzte Antwort") ?>
</th> </th>
<th></th> <th> <?= _('Aktionen') ?> </th>
</tr> </tr>
</thead> </thead>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=accepted]"> type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=accepted]">
</th> </th>
<? endif ?> <? endif ?>
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <?if ($sort_by === 'nachname' && $sort_status === 'accepted') printf('class="sort%s"', $order); ?>> <th <?if ($sort_by === 'nachname' && $sort_status === 'accepted') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'accepted' ? 'desc' : $order; ?> <? $order = $sort_status !== 'accepted' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=autor]"> type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=autor]">
</th> </th>
<? endif ?> <? endif ?>
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'autor') printf('class="sort%s"', $order); ?>> <th <? if ($sort_by === 'nachname' && $sort_status === 'autor') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'autor' ? 'desc' : $order; ?> <? $order = $sort_status !== 'autor' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
data-activates="#action_awaiting,button[name='submit_awaiting']"> data-activates="#action_awaiting,button[name='submit_awaiting']">
</th> </th>
<? endif ?> <? endif ?>
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === $waiting_type) printf('class="sort%s"', $order); ?>> <th <? if ($sort_by === 'nachname' && $sort_status === $waiting_type) printf('class="sort%s"', $order); ?>>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
"?sortby=nachname&sort_status={$waiting_type}&order=%s&toggle=%s#awaiting", "?sortby=nachname&sort_status={$waiting_type}&order=%s&toggle=%s#awaiting",
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</colgroup> </colgroup>
<thead> <thead>
<tr class="sortable"> <tr class="sortable">
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'dozent') printf('class="sort%s"', $order); ?>> <th <? if ($sort_by === 'nachname' && $sort_status === 'dozent') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'dozent' ? 'desc' : $order; ?> <? $order = $sort_status !== 'dozent' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=tutor]"> type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=tutor]">
</th> </th>
<? endif ?> <? endif ?>
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'tutor') printf('class="sort%s"', $order); ?>> <th <? if ($sort_by === 'nachname' && $sort_status === 'tutor') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'tutor' ? 'desc' : $order; ?> <? $order = $sort_status !== 'tutor' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=user]"> type="checkbox" name="all" value="1" data-proxyfor=":checkbox[name^=user]">
</th> </th>
<? endif ?> <? endif ?>
<th></th> <th><p class="sr-only"><?= _('Nummer') ?></p></th>
<th <? if ($sort_by === 'nachname' && $sort_status === 'user') printf('class="sort%s"', $order); ?>> <th <? if ($sort_by === 'nachname' && $sort_status === 'user') printf('class="sort%s"', $order); ?>>
<? $order = $sort_status !== 'user' ? 'desc' : $order; ?> <? $order = $sort_status !== 'user' ? 'desc' : $order; ?>
<a href="<?= URLHelper::getLink(sprintf( <a href="<?= URLHelper::getLink(sprintf(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment