Skip to content

Commit

Permalink
Merge pull request roots#872 from weslly/update-bs-alerts
Browse files Browse the repository at this point in the history
Updated alert boxes to bootstrap v3
  • Loading branch information
retlehs committed Sep 8, 2013
2 parents 2a3fbf0 + 71d099a commit 3a79ebf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php get_template_part('templates/page', 'header'); ?>

<div class="alert">
<div class="alert alert-warning">
<?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
</div>

Expand Down
2 changes: 1 addition & 1 deletion base.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>

<!--[if lt IE 7]><div class="alert"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->
<!--[if lt IE 7]><div class="alert alert-warning"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->

<?php
do_action('get_header');
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php get_template_part('templates/page', 'header'); ?>

<?php if (!have_posts()) : ?>
<div class="alert">
<div class="alert alert-warning">
<?php _e('Sorry, no results were found.', 'roots'); ?>
</div>
<?php get_search_form(); ?>
Expand Down
2 changes: 1 addition & 1 deletion templates/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>

<?php if ($comment->comment_approved == '0') : ?>
<div class="alert">
<div class="alert alert-info">
<?php _e('Your comment is awaiting moderation.', 'roots'); ?>
</div>
<?php endif; ?>
Expand Down
4 changes: 2 additions & 2 deletions templates/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<?php endif; ?>

<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<div class="alert">
<div class="alert alert-warning">
<?php _e('Comments are closed.', 'roots'); ?>
</div>
<?php endif; ?>
Expand All @@ -34,7 +34,7 @@

<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<section id="comments">
<div class="alert">
<div class="alert alert-warning">
<?php _e('Comments are closed.', 'roots'); ?>
</div>
</section><!-- /#comments -->
Expand Down

0 comments on commit 3a79ebf

Please sign in to comment.