{{ _('by') }} {{ users_list(addon.listed_authors) }}
alt="" width="200" height="150" /> {% endif %} ++ {% trans %} + To create your own collections, you must have an add-ons + account. + {% endtrans %} +
+ + ++ {% trans login=login_link() %} + or log in to your current account + {% endtrans %} +
+{{ _('Related Collections') }}
{% endif %} - {% if user.is_authenticated() %} - {# TODO reverse URLs #} - - {% endif %}-
+ {% for collection in collections %}
+
- + {{ collection.name }} + + {% endfor %} +
{{ _('Start a new collection...') }}
+{% endif %} diff --git a/apps/bandwagon/templates/bandwagon/ajax_new.html b/apps/bandwagon/templates/bandwagon/ajax_new.html new file mode 100644 index 00000000000..d9ef732440c --- /dev/null +++ b/apps/bandwagon/templates/bandwagon/ajax_new.html @@ -0,0 +1,29 @@ +{{ _('Start a New Collection') }}
+ + +{{ _('by') }} {{ users_list(addon.listed_authors) }}
data-removeurl="{{ url('collections.ajax_remove') }}" data-newurl="{{ url('collections.ajax_new') }}" > - Add to collection + Add to collection@@ -136,7 +136,7 @@
{{ _('by') }} {{ users_list(addon.listed_authors) }}
{% endtrans %}{{ _('Start a new collection...') }}
{% endif %} + +{{ _('Start a new collection...') }}
\ No newline at end of file diff --git a/media/css/main-mozilla.css b/media/css/main-mozilla.css index fc4e71b72e9..b5495cabae3 100644 --- a/media/css/main-mozilla.css +++ b/media/css/main-mozilla.css @@ -2541,7 +2541,7 @@ html[xmlns] .clearfix { padding: 4px; } -.addon-collections li .collectionitem { +.addon-collections li .collectionitem, .collection-add span { padding-left: 20px; background-image: url(../../img/amo2009/icons/icons.png); background-repeat: no-repeat; diff --git a/media/css/zamboni/zamboni.css b/media/css/zamboni/zamboni.css index a0721c8c3a9..f24ff477c1b 100644 --- a/media/css/zamboni/zamboni.css +++ b/media/css/zamboni/zamboni.css @@ -2377,7 +2377,6 @@ h6.author, .author a { } .collection-add { - display: none; } .collection-add-dropdown { From 51c1e466959f913d43fdc151aee05cdea338d761 Mon Sep 17 00:00:00 2001 From: Matt Claypotch{{ _('by') }} {{ users_list(addon.listed_authors) }}
alt="" width="200" height="150" /> {% endif %} - -- {% trans %} - To create your own collections, you must have an add-ons - account. - {% endtrans %} -
- - -- {% trans login=login_link() %} - or log in to your current account - {% endtrans %} -
-+ {% trans %} + To create your own collections, you must have an add-ons + account. + {% endtrans %} +
+ + ++ {% trans login=login_link() %} + or log in to your current account + {% endtrans %} +
+
{{ _('by') }} {{ users_list(addon.listed_authors) }}
-
+
@@ -63,6 +63,8 @@ {{ _('by') }} {{ users_list(addon.listed_authors) }}
{{ big_install_button(addon, show_warning=False) }}
+ {% include 'addons/includes/collection_add_widget.html' %}
+
{# TODO(davedash): Remove until zamboni does sharing
{{ addon_sharing(addon) }}
#}
diff --git a/apps/bandwagon/templates/bandwagon/ajax_list.html b/apps/bandwagon/templates/bandwagon/ajax_list.html
index b2e8cea3212..b25d1b634d5 100644
--- a/apps/bandwagon/templates/bandwagon/ajax_list.html
+++ b/apps/bandwagon/templates/bandwagon/ajax_list.html
@@ -1,12 +1,12 @@
{% if collections %}
-
+
{% for collection in collections %}
-
- {{ collection.name }}
+ {{ collection.name }}
{% endfor %}
{% endif %}
-{{ _('Start a new collection...') }}
\ No newline at end of file
+{{ _('Start a new collection...') }}
\ No newline at end of file
diff --git a/apps/bandwagon/templates/bandwagon/ajax_new.html b/apps/bandwagon/templates/bandwagon/ajax_new.html
index d9ef732440c..1cd65e72706 100644
--- a/apps/bandwagon/templates/bandwagon/ajax_new.html
+++ b/apps/bandwagon/templates/bandwagon/ajax_new.html
@@ -3,27 +3,29 @@ {{ _('Start a New Collection') }}
diff --git a/media/css/main-mozilla.css b/media/css/main-mozilla.css
index b5495cabae3..7b3ff73b367 100644
--- a/media/css/main-mozilla.css
+++ b/media/css/main-mozilla.css
@@ -789,6 +789,10 @@ p.addon-search-message {
max-width: 205px;
}
+#addon .featured .secondary div {
+ margin-bottom: 1em;
+}
+
#review-box button {
padding: 0.1em 1em;
margin-left: 18%;
diff --git a/media/css/zamboni/zamboni.css b/media/css/zamboni/zamboni.css
index f24ff477c1b..0c7da07f402 100644
--- a/media/css/zamboni/zamboni.css
+++ b/media/css/zamboni/zamboni.css
@@ -2377,12 +2377,70 @@ h6.author, .author a {
}
.collection-add {
+ left: -42px;
}
.collection-add-dropdown {
+ margin: 0;
display: none;
+ width: 200px;
+ left: -42px;
+ padding: 1em;
+}
+
+.collection-add-dropdown a {
+ color: #0055EE;
+}
+.collection-add-dropdown.new-collection {
+ width: 410px;
+}
+
+#collection-form-slug {
+ font-size: .9em;
+}
+
+#collections-new {
+ width: 400px;
+}
+#collections-new #id_name {
+ display: block;
+ width: 99%;
+}
+
+#ajax_collections_list {
+ margin: 0 0 .5em 0;
+}
+
+#ajax_new_collection {
+ border-top: 1px dashed #aecfda;
+ padding: .5em 0 0 30px;
+ margin: 0;
+}
+
+#slug_edit {
+ display: none;
+}
+#slug_value {
+ font-weight: bold;
+}
+#ajax_collections_list li {
+ cursor: pointer;
+ padding-left: 30px;
+ background-repeat: no-repeat;
+ background-position: 0 4px;
+ background-image: url(../../img/zamboni/icons/checks.png);
+ font-weight: bold;
+}
+
+#ajax_collections_list li:hover {
+ background-position: 0 -36px;
+}
+
+#ajax_collections_list li.selected {
+ background-position: 0 -76px;
}
-.collection-add-dropdown .selected {
- background: red;
+#ajax_collections_list li.ajax-loading {
+ background-image: url(../../img/zamboni/loading-white.gif);
+ background-position: left bottom;
}
diff --git a/media/img/zamboni/icons/checks.png b/media/img/zamboni/icons/checks.png
new file mode 100644
index 0000000000000000000000000000000000000000..d57d6dfaf904805be7931947131e0a96d0af9b09
GIT binary patch
literal 1156
zcmaJ=UuYCZ9A1c(s7Yz)i>5w|D-nyi+u6O`U3Sg&$lWIOG<(F$1y7^kW_OZXv^ZW6A
z-|z2^v?sr9k_?&R0lE5I_^dwVXD0-
zg;c%J{{S^HOa*JCGbE$5Ng6i&s)zCCO`EbArYV}YRjm&Z(2aTxE5iOUev1W$9$|L`
z6{y&8lr^>tI;dkXnbrpTG*M@x-+-pPL$V#(00Ji|tuVu$#p;h<5~mqH2ca+4FcskrI|mR7*n%Il@u}zhUT7W2m_y
z2IFBd$j5kIZWSAaU`!N59=60o@jyd~D`RcIL>4J=^^e@fvRrQ!Oq)iQkz*V{daHv?
zFkiA{l+PttR&SB3m(L|smdnv(IB&538Fa}-x5v9Ktt~Z{79Ux3+a0>rJ5f!M{t~O(
z+tMwwv$K(_7JY`8)(l_Ztym|Hl^FGnYKQs3=_+?>uo
zE1tab`CU*IKlrba^M6M-{kf-m^5?O`w|^K)2^%k0ZsnemimAe@9XH5}qMIH0{j1gD^#g?>
zsyjBgY}G%>n|~FaM?bq(HTtM>Xjk>B%$2=07lR7Aw{B)@@%_WV+Goc*FZPe_>v|{_
zzpmQzBsTKXn7aJc{eMT#ojz6H`a+t@9l7vh)32ND6_80V{N1ZPkE65}Cef0V$6|ZG
F`v5e2jwS#A
literal 0
HcmV?d00001
diff --git a/media/img/zamboni/loading-white.gif b/media/img/zamboni/loading-white.gif
new file mode 100644
index 0000000000000000000000000000000000000000..e14a0487dc604ad2f12a17257bc8f21af3c3257e
GIT binary patch
literal 1849
zcmb8wdr(tX9tZI2z31lM+(&YVNJFGf2tkvOnD7cwta}r}L!cC>Ld!!EF|6TH0~N!z
zh~$9~mU)ewQ
z_ve{&=6vS+JHI*EyRr=1tPp|7KM>^Evu9?r`SIh&V`F2>%gauub9i_-xZ?GC_wL<0
zKRtgNiMx;nq#kNiIs`;0Eg-2HNfu`n}fs}5TiJRAFONk)^+ddRk4
z>a-s^Ahp(7Tj~#5_iweoR&x-EeG2$gaF;rCO9+YJPN@_{`LW-OqGl6$)94@1iSgaP
z6}Tk2GH;#0-ZQ%c@Nb-S?{uW`;VV!4g(KYR?__&C?kh!c{69P}xhm4n-KK9OUKBB6
z{NSDKNpi_yj02RsRh(=z(?RGPNMhO-IbpZ(IuFBSY9$TS5@n-8AXAHw>0!)#ht(4Wj)S*45GS&?oJ=sm?4fb?b
z8r$^x^ZKy4)UUNj9LhyT-dx=jq;zhinVDGx)BMSx%K;+yWcv#R=@*#0zmM4M&3tqh
z&P08%;rqr7P_jJo_etB^%(r_E<|S2?mi_ouPl@kpV(l+WfsH%VoTJq`Ex+jS)wIQ(
z@SV~Ro{S3%XbS;8QU?KU8R=P-EU2hs>5QZJN<8YFh|}>#&R8x;=OkNhR1YaeqOieS
zj*HoJ{ki#TqDYB0ao&!lz^;I0rsT532Qbsuvn4>tHXrfIstE$O7TC26QAsdLWv_-H
zk$hYIQ9eO8*pDE9U>j`Z31LaU3XyifASoatUwo`zPz6S1X_>cAd0kw#LXp4uo};mr
zE9-dQ_w?fkDdYVip1TYn?z~i{ltQng9#c^LovwSA`$)3!r)JgqD1s>7T+M@g!a@j@
zN(Dn;#Op_^a{ZudXH|uO*doYoNF#gX;WcXmy{17`>f=(yf@)UrvnjP)lqg;|CH-yL
z)E{?Q55)4aPhYgPh~Jocl&kBqUDwYAxRTaA<2YDN`FPsgFx3$+7u^2McMdT_@hb>C
z8^K!meD(;!C4g4IFsP7tA%P+iPipv?)>O1!8Q!v%jPmT#=-XS2XY5)r>GT46
zd{lRiww_7<^YObA>s~du_E}OMzBaOn4vd=iA?|&jw8YHf>dEyUnzqJB(y%MXNYciS*VkYD8xc{?A{L7re
z8hga-k{u};1pOXkA?Mf#Gk9#g8DR@~5D1G>^b8)vu=Z*@3dw?6os;z{!;jQ|yR?;Q
zoE@dq*(m)%E<~CXAI9YR4Gh_tv9hF!=
{{ _('by') }} {{ users_list(addon.listed_authors) }}
{{ big_install_button(addon, show_warning=False) }} + {% include 'addons/includes/collection_add_widget.html' %} + {# TODO(davedash): Remove until zamboni does sharing {{ addon_sharing(addon) }} #} diff --git a/apps/bandwagon/templates/bandwagon/ajax_list.html b/apps/bandwagon/templates/bandwagon/ajax_list.html index b2e8cea3212..b25d1b634d5 100644 --- a/apps/bandwagon/templates/bandwagon/ajax_list.html +++ b/apps/bandwagon/templates/bandwagon/ajax_list.html @@ -1,12 +1,12 @@ {% if collections %} --
+
- - {{ collection.name }} + {{ collection.name }} {% endfor %}
-
{% for collection in collections %}
{{ _('Start a new collection...') }}
\ No newline at end of file +{{ _('Start a new collection...') }}
\ No newline at end of file diff --git a/apps/bandwagon/templates/bandwagon/ajax_new.html b/apps/bandwagon/templates/bandwagon/ajax_new.html index d9ef732440c..1cd65e72706 100644 --- a/apps/bandwagon/templates/bandwagon/ajax_new.html +++ b/apps/bandwagon/templates/bandwagon/ajax_new.html @@ -3,27 +3,29 @@