Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Change some points at info list for bundle, fix #122
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Sep 14, 2012
1 parent c06c954 commit 8ac2ebf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ bundles.show:
title: "Infos"
state: "Status:"
score: "Score:"
created: "Created:"
updated: "Last update:"
contributors: "Nb of contributors:"
followers: "Nb of followers:"
watchers: "Nb of watchers:"
recommends: "Nb of recommendations:"
buildStatus: "Build status:"
composer: "Composer"
travis: "Travis CI"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,12 @@
{%- endif -%}
<li><i class="icon-chart"></i><strong>{% trans %}bundles.show.infos.score{% endtrans %}</strong> <a href="#score-details" data-toggle="tab">{{ bundle.score }}</a></li>
{%- if bundle.symfonyVersions|length > 0 -%}
<li><i class="icon-symfony"></i><strong class="symfony-versions" data-placement="bottom" data-content="{{ block('symfony_versions') }}" data-title="{% trans %}bundles.show.infos.symfonyVersion{% endtrans %}:">{% trans %}bundles.show.infos.symfonyVersion{% endtrans %}</strong>
</li>
<li><i class="icon-symfony"></i><strong class="symfony-versions" data-placement="bottom" data-content="{{ block('symfony_versions') }}" data-title="{% trans %}bundles.show.infos.symfonyVersion{% endtrans %}:">{% trans %}bundles.show.infos.symfonyVersion{% endtrans %}</strong></li>
{%- endif -%}
<li><i class="icon-calendar"></i><strong>{% trans %}bundles.show.infos.created{% endtrans %}</strong> {{ bundle.createdAt|date('date_format'|trans) }}</li>
<li><i class="icon-calendar"></i><strong>{% trans %}bundles.show.infos.updated{% endtrans %}</strong> {{ bundle.lastCheckAt|default(bundle.createdAt)|date('date_format'|trans) }}</li>
<li><i class="icon-developers"></i><strong>{% trans %}bundles.show.infos.contributors{% endtrans %}</strong> {{ bundle.nbContributors }}</li>
<li><i class="icon-eye"></i><strong>Nb of watchers:</strong> {{ bundle.nbFollowers }}</li>
<li><i class="icon-thumbs-up"></i><strong>Nb of recommendations:</strong> {{ bundle.nbRecommenders }}</li>
<li><i class="icon-eye"></i><strong>{% trans %}bundles.show.infos.watchers{% endtrans %}</strong> {{ bundle.nbFollowers }}</li>
<li><i class="icon-thumbs-up"></i><strong>{% trans %}bundles.show.infos.recommends{% endtrans %}</strong> {{ bundle.nbRecommenders }}</li>
<li title="{% trans %}bundles.show.infos.github{% endtrans %}">
<i class="icon-github"></i><a href="{{ bundle.githubUrl }}">{{ bundle.fullName }}</a>
</li>
Expand All @@ -94,6 +93,7 @@
</section>
</div>

{%- if bundle.keywords|length > 0 %}
<div class="sidebar-box sidebar-keywords">
<hgroup>
<h2>{% trans %}bundles.show.keywords.title{% endtrans %}</h2>
Expand All @@ -102,11 +102,10 @@
<section>
{% for keyword in bundle.keywords %}
<a href="{{ path('bundle_keyword', {'slug': keyword.slug}) }}" title="{{ keyword.value }}">{{ keyword.value }}</a>{{ loop.last ? '' : ',' }}
{% else %}
{% trans %}bundles.show.keywords.empty{% endtrans %}
{% endfor %}
</section>
</div>
{%- endif %}

<div class="sidebar-box sidebar-developers-list clearfix">
<hgroup>
Expand Down

0 comments on commit 8ac2ebf

Please sign in to comment.