Skip to content

Commit

Permalink
Add a really rough looking update notification into the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Dec 8, 2014
1 parent 2e2648c commit 83c68cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/bundles/DashboardBundle/Views/Default/index.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@
<div class="np col-md-9 height-auto bg-white">
<div class="bg-auto bg-dark-xs">
<div class="pa-md mb-lg">
<?php if ($updateMessage) : ?>
<div class="alert alert-mautic">
<div class="row">
<div class="col-md-10">
<h4><?php echo $updateMessage; ?></h4>
</div>
<div class="col-md-2 pull-right">
<a class="btn btn-danger" href="<?php echo $view['router']->generate('mautic_core_update'); ?>" data-toggle="ajax">Update Now</a>
</div>
</div>
</div>
<?php endif; ?>
<div class="row">
<div class="col-md-4">
<div class="panel mb-0">
Expand Down

0 comments on commit 83c68cc

Please sign in to comment.