Skip to content
Snippets Groups Projects
Commit 029fe9ca authored by David Siegfried's avatar David Siegfried
Browse files

remove useless whitespace and fix alignment, closes #2343

Closes #2343

Merge request studip/studip!1533
parent c246c15b
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
</header> </header>
<table class="default"> <table class="default">
<colgroup>
<col style="width: 70%">
<col>
</colgroup>
<thead> <thead>
<tr> <tr>
<th> <th>
...@@ -39,8 +43,7 @@ ...@@ -39,8 +43,7 @@
<td> <td>
<?= htmlReady( <?= htmlReady(
$property->display_name $property->display_name
? $property->display_name ?: $property->name
: $property->name
) ?> ) ?>
</td> </td>
<td> <td>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<h1><?= _('Beschreibung und Hinweise') ?></h1> <h1><?= _('Beschreibung und Hinweise') ?></h1>
</header> </header>
<section> <section>
<? if ($room->description): ?> <? if ((string)$room->description !== ''): ?>
<p><?= htmlReady($room->description) ?></p> <p><?= htmlReady($room->description) ?></p>
<? endif ?> <? endif ?>
<ul> <ul>
...@@ -51,6 +51,10 @@ ...@@ -51,6 +51,10 @@
<h1><?= _('Dateien') ?></h1> <h1><?= _('Dateien') ?></h1>
</header> </header>
<table class="default sortable-table" data-sortlist="[[2, 0]]"> <table class="default sortable-table" data-sortlist="[[2, 0]]">
<colgroup>
<col style="width: 70%">
<col>
</colgroup>
<?= $this->render_partial('files/_files_thead') ?> <?= $this->render_partial('files/_files_thead') ?>
<? foreach ($resource_folder->getFiles() as $file): ?> <? foreach ($resource_folder->getFiles() as $file): ?>
<? if ($file->isVisible($GLOBALS['user']->id)) : ?> <? if ($file->isVisible($GLOBALS['user']->id)) : ?>
......
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