diff --git a/www/less/map.less b/www/less/map.less index 6ee6a71fc5cfe719a9811ab1ec931e77d47f6f33..42b7b6b98c055655fa7e6dc36caf097784ea1f54 100644 --- a/www/less/map.less +++ b/www/less/map.less @@ -320,6 +320,10 @@ min-width: 4.5em; } + &.unofficial .buildingCode { + border-style: dashed; + } + &:hover { .buildingCode { background: @triad; diff --git a/www/templates/html/UNL/TourMap/GoogleMap.tpl.php b/www/templates/html/UNL/TourMap/GoogleMap.tpl.php index 4ecafb79e267f1722c390e3d7963418e2f5118d8..9ae4963e92df2552db7bdaaa35e52a6b76a53b50 100644 --- a/www/templates/html/UNL/TourMap/GoogleMap.tpl.php +++ b/www/templates/html/UNL/TourMap/GoogleMap.tpl.php @@ -57,6 +57,7 @@ WDN.loadCSS('<?php echo UNL_TourMap::getURL(); ?>css/map.css'); <section id="mapnav" class="wdn-band"> <div id="pointlist" class="wdn-inner-wrapper"> <h2 class="clear-top wdn-center">All Buildings</h2> + <p>Note: Building abbreviations with a dashed border are unofficial and are listed here only for convenience.</p> <?php echo $savvy->render($context->markers, 'UNL/TourMap/MarkerList.tpl.php'); ?> </div> </section> diff --git a/www/templates/html/UNL/TourMap/Marker/Building.tpl.php b/www/templates/html/UNL/TourMap/Marker/Building.tpl.php index 392a7ef80c3544163629ceaa45ea2d82e752b1b3..efc14c66a16c8c33702d56ab68abc4bddc364e01 100644 --- a/www/templates/html/UNL/TourMap/Marker/Building.tpl.php +++ b/www/templates/html/UNL/TourMap/Marker/Building.tpl.php @@ -1 +1 @@ -<li class="building"><a href="<?php echo $context->getUrl(); ?>"><span class="buildingCode"><?php echo $context->code; ?></span> <span class="format"><?php echo $context->title; ?></span> <span class="campus">(<?php echo $context->getFormattedCampus(); ?>)</span> </a></li> +<li class="building<?php echo !$context->isOfficial() ? ' unofficial' : '' ?>"><a href="<?php echo $context->getUrl(); ?>"><span class="buildingCode"><?php echo $context->code; ?></span> <span class="format"><?php echo $context->title; ?></span> <span class="campus">(<?php echo $context->getFormattedCampus(); ?>)</span> </a></li>