Skip to content

Commit b3e1a40

Browse files
committed
small update
1 parent 0690a5d commit b3e1a40

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

src/COC/COCBundle/Resources/views/Default/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
{{ render(controller('AdminBundle:VideoAdmin:mainPageModule', {'id_clan': clan.id })) }}
216216

217217
{% if is_granted('ROLE_USER') and app.user.player.clan.id is defined %}
218-
218+
219219
{% include 'FOSCommentBundle:Thread:async.html.twig' with {'id': clan.id} %}
220220
{% endif %}
221221

src/COC/COCBundle/Resources/views/ImageBase/category.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</a>
4242
</div>
4343
<div class="panel-footer">
44-
<h3 class="panel-title text-center">{{ 'label.posted_by'|trans }}{{ image.user.username }} </h3>
44+
<h3 class="panel-title text-center">{{ 'label.posted_by'|trans }} {{ image.user.username }} </h3>
4545
</div>
4646

4747

src/COC/COCBundle/Resources/views/ImageBase/template.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<div class="row">
22
{% if images|length != 0 %}
33
<div class="row">
4-
<div class="col-md-12">
4+
<div class="col-md-10 col-md-offset-1">
55
<h3><a href="{{ path('coc_images_base_category', {'id': hall_town , 'id_clan': clan.id }) }}">{{ 'player.hall_town'|trans }} {{ hall_town }}</a></h3>
66
</div>
77
</div>
88

9+
<br>
910
{% for image in images %}
1011
<div class="col-md-4">
1112
<div class="panel panel-default text-center">

src/COC/COCBundle/Resources/views/Player/activity.html.twig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@
1111
<div class="row">
1212
<div class="col-lg-12">
1313
<h1 class="page-header">
14+
{{ 'menu.activity'|trans }} ({{ season.name }})
1415
{% if isCurrentSeason %}
15-
{{ 'menu.activity'|trans }} ({{ season.name }})
16-
{% else %}
17-
{{ 'menu.activity'|trans }} ({{ season.name }})
18-
{% if app.user.player.level is defined and clan.id == app.user.player.clan.id %}
19-
<a class="btn btn-normal pull-right btn-primary" href="{{ path('coc_players', {'id_clan': clan.id, 'type': '1' }) }}">{{ 'menu.current_season'|trans }}</a>
20-
{% endif %}
16+
<a class="btn btn-normal pull-right btn-primary" href="{{ path('coc_players', {'id_clan': clan.id, 'type': '1' }) }}">{{ 'menu.current_season'|trans }}</a>
2117
{% endif %}
2218
{% if is_granted('ROLE_ADMIN') and app.user.clan == clan %}
2319
<a class="btn btn-normal btn-success btn-normal pull-right" href="{{ path('admin_players_actual_season', {'id_clan': clan.id } ) }}"> &nbsp;{{ 'menu.admin_activity'|trans }}</a>

src/COC/COCBundle/Resources/views/Player/index.html.twig

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
<div class="row">
1515
<div class="col-lg-12">
1616
<h1 class="page-header">
17+
{{ 'menu.general_ranking'|trans }} ({{ season.name }})
1718
{% if isCurrentSeason %}
18-
{{ 'menu.general_ranking'|trans }} ({{ season.name }})
19-
{% else %}
20-
{{ 'menu.general_ranking'|trans }} ({{ season.name }})
21-
{% if app.user.player.level is defined and clan.id == app.user.player.clan.id %}
22-
<a class="btn btn-normal pull-right btn-primary" href="{{ path('coc_players', {'id_clan': clan.id, 'type': '0' }) }}">{{ 'menu.current_season'|trans }}</a>
23-
{% endif %}
19+
<a class="btn btn-normal pull-right btn-primary" href="{{ path('coc_players', {'id_clan': clan.id, 'type': '0' }) }}">{{ 'menu.current_season'|trans }}</a>
2420
{% endif %}
21+
2522
{% if is_granted('ROLE_ADMIN') and app.user.clan == clan %}
2623
<a class="btn btn-normal btn-success btn-normal pull-right" href="{{ path('admin_players', {'id_clan': clan.id } ) }}">{{ 'menu.admin_players'|trans }}</a>
2724
{% endif %}

src/COC/VitrineBundle/Resources/views/Default/index.html.twig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@
9393
<p class="lead">{{ 'intro.feature2_description'|trans }} </p>
9494
</div>
9595
<div class="col-lg-6 col-sm-pull-4 col-sm-6">
96-
<img class="img-responsive center-block" src="{{ asset('images/rank.png') }}" alt="">
96+
<a rel="gallery-1" href="{{ asset('images/rank.png') }}" class="swipebox" title="">
97+
<img class="img-responsive center-block" src="{{ asset('images/rank.png') }}" alt="">
98+
</a>
99+
97100
</div>
98101
</div>
99102

@@ -113,7 +116,10 @@
113116
<p class="lead"> {{ 'intro.feature3_description'|trans }}</p>
114117
</div>
115118
<div class="col-lg-6 col-lg-offset-2 col-sm-6">
116-
<img class="img-responsive center-block" src="{{ asset('images/bases.png') }}" alt="">
119+
<a rel="gallery-1" href="{{ asset('images/bases.png') }}" class="swipebox" title="">
120+
<img class="img-responsive center-block" src="{{ asset('images/bases.png') }}" alt="">
121+
</a>
122+
117123
</div>
118124
</div>
119125
</div>

web/images/bases.png

-438 KB
Loading

0 commit comments

Comments
 (0)