Committer: skomarov
LJSUP-9774: New tab need to finished for sapato project.U trunk/bin/upgrading/en_LJ.dat U trunk/htdocs/stc/shop/shop.css U trunk/templates/Shop/Wallet.tmpl
Modified: trunk/bin/upgrading/en_LJ.dat =================================================================== --- trunk/bin/upgrading/en_LJ.dat 2011-09-12 06:23:14 UTC (rev 10988) +++ trunk/bin/upgrading/en_LJ.dat 2011-09-12 06:38:14 UTC (rev 10989) @@ -10570,6 +10570,12 @@ wallet.bml.admin.stat.th.tokens=tokens +wallet.bml.free.tokens.title=Sed ut perspiciatis unde omnis iste natus 100 LJ Tokens for free? + +wallet.bml.free.tokens.content=Sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. + +wallet.bml.free.tokens.sapato=<a href="">Register</a> to recieve 100 LJ Tokens! + wallet.suggest_buy_tokens=Your [[feature_name]] balance is insufficient. <a href="[[landing]]">Buy LJ tokens</a> to use this method. mobile.title=LiveJournal — mobile version Modified: trunk/htdocs/stc/shop/shop.css =================================================================== --- trunk/htdocs/stc/shop/shop.css 2011-09-12 06:23:14 UTC (rev 10988) +++ trunk/htdocs/stc/shop/shop.css 2011-09-12 06:38:14 UTC (rev 10989) @@ -1668,3 +1668,34 @@ .b-selfpromo-price .submit-options { padding-top: 10px; } + +/* Free tokens +------------------------------------------------------------------------*/ +.b-wallet-tokens-free-content { + overflow: hidden; + padding: 0 30px 0 0; + margin: 0; + } + .b-wallet-tokens-free-content H4 { + padding: 0; + margin: 0 0 5px 0; + } + .b-wallet-tokens-free-content P { + margin: 0; + } +/* Sapato */ +.b-wallet-tokens-sapato { + float: right; + width: 165px; + margin-right: 20px; + text-align: center; + } + .b-wallet-tokens-sapato IMG { + margin-bottom: 15px; + } + .b-wallet-tokens-sapato P { + padding: 0; + margin: 0; + line-height: 20px; + font-size: 14px; + } Modified: trunk/templates/Shop/Wallet.tmpl =================================================================== --- trunk/templates/Shop/Wallet.tmpl 2011-09-12 06:23:14 UTC (rev 10988) +++ trunk/templates/Shop/Wallet.tmpl 2011-09-12 06:38:14 UTC (rev 10989) @@ -77,12 +77,18 @@ <p><TMPL_VAR proceed_xfer_btn></p> </form> </li> - <li class="b-wallet-tokens-item b-wallet-tokens-free<TMPL_IF name='tab_tokens_free'> current</TMPL_IF>"> - <form action="<TMPL_VAR self_uri>" method="post"> - - </form> - </li> - + <li class="b-wallet-tokens-item b-wallet-tokens-free<TMPL_IF name='tab_tokens_free'> current</TMPL_IF>"> + <form action="<TMPL_VAR self_uri>" method="post"> + <div class="b-wallet-tokens-sapato"> + <a href="http://www.sapato.ru" target="_blank"><img src="/img/sapato.png" width="133" height="49" alt="SAPATO" /></a> + <p><strong><TMPL_VAR expr="ml('wallet.bml.free.tokens.sapato')"></strong></p> + </div> + <div class="b-wallet-tokens-free-content"> + <h4><TMPL_VAR expr="ml('wallet.bml.free.tokens.title')"></h4> + <p><TMPL_VAR expr="ml('wallet.bml.free.tokens.content')"></p> + </div> + </form> + </li> </ul> <script type="text/javascript">