[icinga-checkins] icinga.org: icingaweb2/feature/doc-search-6630: doc/lib: Use <h1> for search headings

git at icinga.org git at icinga.org
Wed Feb 11 15:54:03 CET 2015


Module: icingaweb2
Branch: feature/doc-search-6630
Commit: 8e7faa8170513a100e1a1d9a6acf758fa2dcaf25
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=8e7faa8170513a100e1a1d9a6acf758fa2dcaf25

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Wed Feb 11 15:53:41 2015 +0100

doc/lib: Use <h1> for search headings

refs #6630

---

 modules/doc/application/views/scripts/search/index.phtml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/doc/application/views/scripts/search/index.phtml b/modules/doc/application/views/scripts/search/index.phtml
index df488c2..272ab3a 100644
--- a/modules/doc/application/views/scripts/search/index.phtml
+++ b/modules/doc/application/views/scripts/search/index.phtml
@@ -1,7 +1,7 @@
 <div class="content">
-    <?php foreach (/** @type \Icinga\Module\Doc\Search\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
+    <?php foreach (/** @type \Icinga\Module\Doc\Renderer\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
         <?php if (! $search->isEmpty()): ?>
-            <h2><?= $this->escape($title) ?></h2>
+            <h1><?= $this->escape($title) ?></h1>
             <?= $search ?>
         <?php endif ?>
     <?php endforeach ?>



More information about the icinga-checkins mailing list