[ljcom] r11934: LJSUP-11857: Cyr sub domains
Committer: sboronchiev
LJSUP-11857: Cyr sub domainsU trunk/htdocs/stc/shop/shop.css U trunk/templates/Shop/DomainRU.tmpl U trunk/templates/Shop/MainPage.tmpl
Modified: trunk/htdocs/stc/shop/shop.css
===================================================================
--- trunk/htdocs/stc/shop/shop.css 2012-05-14 07:20:12 UTC (rev 11933)
+++ trunk/htdocs/stc/shop/shop.css 2012-05-14 08:36:21 UTC (rev 11934)
@@ -2290,3 +2290,57 @@
.b-domainru-nodomains {
display: none;
}
+
+
+/* Domain RU Intro */
+.b-domainru-intro {
+ min-height:150px;
+ background:url(/img/shop/domainru-intro.jpg?v=1) no-repeat 97% 100%;
+ }
+
+/* Domain RU promo block */
+.b-promo-domainru {
+ overflow: hidden;
+ padding: 12px 0 12px 25px;
+ margin: 0 0 17px 0;
+ border: 1px solid #878787;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ color: #404040;
+ }
+ .b-promo-domainru .pic,
+ .b-promo-domainru .desc {
+ padding: 0;
+ margin: 0;
+ }
+ .b-promo-domainru .pic {
+ float: right;
+ width: 140px;
+ }
+ .b-promo-domainru .pic IMG {
+ display: block;
+ margin-bottom: 10px;
+ }
+ .b-promo-domainru .pic BUTTON {
+ display: block;
+ margin: 0 auto;
+ }
+ .b-promo-domainru .desc {
+ overflow: hidden;
+ padding-right: 5px;
+ }
+ .b-promo-domainru H3 {
+ padding: 0;
+ margin: 0 0 10px 0;
+ line-height: 20px;
+ font-weight: normal;
+ font-style: normal;
+ font-size: 18px;
+ }
+ .b-promo-domainru P {
+ padding: 0;
+ margin: 0 0 5px;
+ line-height: 15px;
+ font-size: 12px;
+ }
\ No newline at end of file
Modified: trunk/templates/Shop/DomainRU.tmpl
===================================================================
--- trunk/templates/Shop/DomainRU.tmpl 2012-05-14 07:20:12 UTC (rev 11933)
+++ trunk/templates/Shop/DomainRU.tmpl 2012-05-14 08:36:21 UTC (rev 11934)
@@ -19,7 +19,7 @@
<div id="shop_domainru">
-<div class="b-shop-intro b-renacc-intro">
+<div class="b-shop-intro b-domainru-intro">
<h3><TMPL_VAR expr="ml('shop.view.domainru.intro.title')"></h3>
<p><TMPL_VAR expr="ml('shop.view.domainru.intro.text')"></p>
</div>
Modified: trunk/templates/Shop/MainPage.tmpl
===================================================================
--- trunk/templates/Shop/MainPage.tmpl 2012-05-14 07:20:12 UTC (rev 11933)
+++ trunk/templates/Shop/MainPage.tmpl 2012-05-14 08:36:21 UTC (rev 11934)
@@ -14,30 +14,8 @@
<a href="/shop/paidaccount.bml"><span class="title"><TMPL_VAR expr="ml('shop.view.promo.paidaccount.title')"></span><span><TMPL_VAR expr="ml('shop.view.promo.paidaccount.text')"></span></a>
</div>
</TMPL_IF>
-<tmpl_if is_remote_sup>
-<div class="b-promo-book">
- <div class="pic">
- <a href="http://www.ozon.ru/context/detail/id/5042911/?partner=lj"><img src="<TMPL_VAR lj_imgprefix>/shop/promo/promo-book-ru.jpg?v=9370" width="126" height="118" alt="<TMPL_VAR expr="ml('shop.view.promo.book.title')">" /></a>
- <button type="button" onClick="location.href='http://www.ozon.ru/context/detail/id/5042911/?partner=lj'"><TMPL_VAR expr="ml('shop.view.promo.book.buy')"></button>
- </div>
- <div class="desc">
- <h4><TMPL_VAR expr="ml('shop.view.promo.book.author')"></h4>
- <p><em><TMPL_VAR expr="ml('shop.view.promo.book.author-note')"></em></p>
- <h3><a href="http://www.ozon.ru/context/detail/id/5042911/?partner=lj"><TMPL_VAR expr="ml('shop.view.promo.book.title')"></a></h3>
- <p><TMPL_VAR expr="ml('shop.view.promo.book.desc')"></p>
- </div>
-</div>
-<tmpl_else>
-<div class="b-promo-book b-promo-book-en">
- <div class="pic">
- <a href="http://www.blurb.com/bookstore/detail/867149"><img src="<TMPL_VAR lj_imgprefix>/shop/promo/promo-book-en.jpg?v=9370" width="160" height="149" alt="<TMPL_VAR expr="ml('shop.view.promo.book.title')">" /></a>
- <button type="button" onClick="location.href='http://www.blurb.com/bookstore/detail/867149'"><TMPL_VAR expr="ml('shop.view.promo.book.buy')"></button>
- </div>
- <div class="desc">
- <h3><a href="http://www.blurb.com/bookstore/detail/867149"><TMPL_VAR expr="ml('shop.view.promo.book.title')"></a></h3>
- <p class="note"><em><TMPL_VAR expr="ml('shop.view.promo.book.note')"></em></p>
- <p><TMPL_VAR expr="ml('shop.view.promo.book.desc')"></p>
- </div>
-</div>
-</tmpl_if>
+
+
+<TMPL_INCLUDE name="templates/Shop/MainPromo.tmpl">
+
<TMPL_INCLUDE name="templates/Shop/Promoblocks.tmpl">
\ No newline at end of file
