Skip to content

Commit

Permalink
Add CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-si committed Jan 7, 2015
1 parent 6800901 commit 69f17d6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 18 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## 0.0.1 - 2015-01-07

### Added

- Add git toolbar logo
- Add git version info
- Add directory info
- Add repository size info
- Add branches list
- Add highlight current branch
- Add tags list
- Add enabled hooks list
- Add remotes list
- Add readme - description
- Add readme - about
- Add readme - installation
- Add readme - credits
- Add changelog
38 changes: 20 additions & 18 deletions view/zend-developer-tools/toolbar/git-data.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,27 @@
<span class="zdt-detail-label"><?= ucfirst($this->translate('size')) ?></span>
<span class="zdt-detail-value"><?= $collector->getSize() ?></span>
</span>
<div style="max-height: 400px !important; max-width: 700px; overflow-y: auto !important; overflow-x: hidden;">
<span class="zdt-toolbar-info">
<span class="zdt-detail-label"><?= ucfirst($this->translatePlural('branch', 'branches', 2)) ?></span>
<span class="zdt-detail-value">
<?php foreach ($collector->getRepository()->getReferences()->getLocalBranches() as $branch) { ?>
<span class="zdt-toolbar-status <?= $branch->getName() === $collector->getRepository()->getHead()->getName() ? 'zdt-toolbar-status-green' : '' ?>"><?= $branch->getName() ?></span><br>
<?php } ?>
<span class="zdt-toolbar-info">
<div style="max-height: 400px !important; max-width: 700px; overflow-y: auto !important; overflow-x: hidden;">
<span class="zdt-toolbar-info">
<span class="zdt-detail-label"><?= ucfirst($this->translatePlural('branch', 'branches', 2)) ?></span>
<span class="zdt-detail-value">
<?php foreach ($collector->getRepository()->getReferences()->getLocalBranches() as $branch) { ?>
<span class="zdt-toolbar-status <?= $branch->getName() === $collector->getRepository()->getHead()->getName() ? 'zdt-toolbar-status-green' : '' ?>"><?= $branch->getName() ?></span><br>
<?php } ?>
</span>
</span>
</span>
<span class="zdt-toolbar-info">
<span class="zdt-detail-label"><?= ucfirst($this->translatePlural('tag', 'tags', 2)) ?></span>
<span class="zdt-detail-value">
<?php foreach ($collector->getTags() as $tag) { ?>
<?= $tag->getName() ?><br>
<?php } ?>
<span class="zdt-toolbar-info">
<span class="zdt-detail-label"><?= ucfirst($this->translatePlural('tag', 'tags', 2)) ?></span>
<span class="zdt-detail-value">
<?php foreach ($collector->getTags() as $tag) { ?>
<?= $tag->getName() ?><br>
<?php } ?>
</span>
</span>
</span>
<?= $this->ZendDeveloperToolsDetailArray(ucfirst($this->translatePlural('hook', 'hooks', 2)), $collector->getEnabledHooks()) ?>
<?= $this->ZendDeveloperToolsDetailArray(ucfirst($this->translatePlural('remote', 'remotes', 2)), $collector->getRemotes()) ?>
</div>
<?= $this->ZendDeveloperToolsDetailArray(ucfirst($this->translatePlural('hook', 'hooks', 2)), $collector->getEnabledHooks()) ?>
<?= $this->ZendDeveloperToolsDetailArray(ucfirst($this->translatePlural('remote', 'remotes', 2)), $collector->getRemotes()) ?>
</div>
</span>
</div>
</div>

0 comments on commit 69f17d6

Please sign in to comment.