Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions app/view/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,5 @@ function gtag(){dataLayer.push(arguments);}
var feature__device_age = <?php var_export(featureIsEnabled(FEATURE__DEVICE_AGE)); ?>;
</script>


<?php
if($charts) {
?>
<script src="/components/Chart.js/Chart.min.js"></script>
<script>
// MAIN CHART CONFIG
Chart.defaults.global.responsive = true;
</script>
<?php
}
?>
</head>
<body>
2 changes: 1 addition & 1 deletion app/view/host/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<span class="header-text">
Welcome, <strong><?php echo $user->name; ?></strong>.

<?php if ($showbadges) { ?>
<?php if ($showbadges = "") { ?>
<span class="">You have <a class="label label-success" href="#upcomingparties"><?php echo count($upcomingparties); ?></a> upcoming <?php echo (count($upcomingparties) == 1 ? 'party' : 'parties'); ?>.
<?php if ($need_attention > 0) { ?>
<a class="label label-danger" href="#attention"><?php echo $need_attention; ?></a> <?php echo ($need_attention == 1 ? 'party needs' : 'parties need'); ?> your attention.</span>
Expand Down