Procházet zdrojové kódy

Mieux intégrer la proposition de tags (dans les deux sens)

Bastien Sevajol před 12 roky
rodič
revize
b0006cffed

+ 1 - 1
app/Resources/translations/elements.fr.yml Zobrazit soubor

@@ -71,7 +71,7 @@ element:
71 71
     description_one:    Un utilisateur vous propose cette configuration de tags
72 72
     description_x:      Des utilisateurs vous propose ces configurations de tags
73 73
     link_accept:        Accepter cette proposition
74
-    link_refuse_one:    Refuser les propositions
74
+    link_refuse_one:    Refuser la proposition
75 75
     link_refuse_x:      Refuser les propositions
76 76
   
77 77
 comment:

+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Element/tag.proposition.html.twig Zobrazit soubor

@@ -15,6 +15,6 @@
15 15
 
16 16
     <input type="submit" value="{{ 'element.tag_proposition.form.submit'|trans({}, 'elements') }}" class="button" />
17 17
     <input type="button" value="{{ 'element.tag_proposition.form.cancel'|trans({}, 'elements') }}" class="button cancel" />
18
-
18
+    <div style="clear:both;"></div>
19 19
   </form>
20 20
 </div>

+ 3 - 3
src/Muzich/CoreBundle/Resources/views/Element/tag.propositions.html.twig Zobrazit soubor

@@ -19,7 +19,7 @@
19 19
           <span class="button">{{ tag.name }}</span>
20 20
         {% endfor %}
21 21
           
22
-          <a class="accept_tag_propotision button button_green" href="{{ path('ajax_element_proposed_tags_accept', {'proposition_id':proposition.id,'token':app.user.getPersonalHash}) }}">
22
+          <a class="accept_tag_propotision button darkbutton" href="{{ path('ajax_element_proposed_tags_accept', {'proposition_id':proposition.id,'token':app.user.getPersonalHash}) }}">
23 23
             {{ 'element.view_propositions.link_accept'|trans({}, 'elements') }}
24 24
           </a>
25 25
           
@@ -28,11 +28,11 @@
28 28
   </ul>
29 29
   
30 30
   {% if propositions|length > 1 %}
31
-    <a class="refuse_tag_propositions button" href="{{ path('ajax_element_proposed_tags_refuse', {'element_id':element_id,'token':app.user.getPersonalHash}) }}" >
31
+    <a class="refuse_tag_propositions button darkbutton" href="{{ path('ajax_element_proposed_tags_refuse', {'element_id':element_id,'token':app.user.getPersonalHash}) }}" >
32 32
       {{ 'element.view_propositions.link_refuse_x'|trans({}, 'elements') }}
33 33
     </a>
34 34
   {% else %}
35
-    <a class="refuse_tag_propositions button" href="{{ path('ajax_element_proposed_tags_refuse', {'element_id':element_id,'token':app.user.getPersonalHash}) }}" >
35
+    <a class="refuse_tag_propositions button darkbutton" href="{{ path('ajax_element_proposed_tags_refuse', {'element_id':element_id,'token':app.user.getPersonalHash}) }}" >
36 36
       {{ 'element.view_propositions.link_refuse_one'|trans({}, 'elements') }}
37 37
     </a>
38 38
   {% endif %}

+ 1 - 1
web/bundles/muzichcore/css/old.css Zobrazit soubor

@@ -1284,7 +1284,7 @@ li.tag_proposition span.button
1284 1284
 
1285 1285
 li.tag_proposition:hover
1286 1286
 {
1287
-  background-color: #c0f2ff;
1287
+  background-color: #D5D5D5;
1288 1288
 }
1289 1289
 
1290 1290
 

+ 19 - 0
web/css/main.css Zobrazit soubor

@@ -1605,4 +1605,23 @@ div#myaccount h2
1605 1605
 div#myaccount h2:hover
1606 1606
 {
1607 1607
   text-decoration: underline;
1608
+}
1609
+
1610
+div.tag_proposition input.tag_prompt
1611
+{
1612
+  width: 605px;
1613
+}
1614
+
1615
+div.tag_proposition input.button
1616
+{
1617
+  float: right;
1618
+  margin-top: 5px;
1619
+  margin-left: 5px;
1620
+}
1621
+
1622
+li.element_view_propositions_link
1623
+{
1624
+  padding-left: 2px;
1625
+  padding-right: 2px;
1626
+  padding-top: 1px;
1608 1627
 }