Skip to content

Commit

Permalink
final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Oct 12, 2023
1 parent 3212483 commit 1f97924
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/Model/Config/PluginConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ public static function importFromXML(string $xml_file_path): void
*/
$xoct_publication_usage = $domxml->getElementsByTagName('xoct_publication_usage');

// We need to reset the main usages, otherwise we end with an already filled unwanted usages!
PublicationUsage::flushDB();

foreach ($xoct_publication_usage as $node) {
$usage_id = $node->getElementsByTagName('usage_id')->item(0)->nodeValue;
if (!$usage_id) {
Expand Down
6 changes: 3 additions & 3 deletions templates/default/events.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@

.xoct_event_buttons .dropdown {
display: inline-block;
width: 32%;
}

.xoct_event_buttons .dropdown button {
Expand Down Expand Up @@ -150,8 +149,9 @@ div.il-card.thumbnail div.caption {
display: inline-block;
}

.il-card a {
width: 32%;
.il-card a, .il-card .dropdown {
margin-top: 3px;
width: 49%;
}

.il-card ul li a {
Expand Down

0 comments on commit 1f97924

Please sign in to comment.