Zionetrix::Git
Repositories
Help
Report an Issue
viewgit-projectinfos-plugin
Code
Commits
Branches
Tags
Search
Tree:
deddbac
Branches
Tags
master
viewgit-projectinfos-plugin
templates
summary.php
Change <h2> to <h1> with CSS class
Benjamin Renard
commited
deddbac
at 2012-10-09 16:58:31
summary.php
Blame
History
Raw
<?php global $page; ?> <style> dl.projectinfos { margin: 0; padding: 0; } dl.projectinfos dt { position: relative; width: 7em; left: 0.2em; font-weight: bold; } dl.projectinfos dd { margin-left: 7em; margin-top: -1.3em; padding: 0; } dl.projectinfos ul { list-style-type: none; margin: 0; padding: 0; } </style> <h1 class='projectinfos'>Project informations</h1> <dl class='projectinfos'> <dt>Description</dt> <dd><?php echo $page['project_infos']['description']; ?></dd> <dt>Last Change</dt> <dd><?php echo $page['project_infos']['head_datetime']; ?></dd> <?php if (isset($page['project_infos']['url'])) { echo "<dt>URL</dt> <dd><ul>"; foreach ($page['project_infos']['url'] as $url) { echo "<li>$url</li>"; } echo "</ul></dd>"; } ?> </dl>