Committer: skomarov
LJSUP-9603: Self-promo: Not working link PreviewU trunk/htdocs/shop/selfpromo.bml.text.local U trunk/htdocs/stc/shop/shop.css U trunk/templates/Shop/SelfPromo.tmpl
Modified: trunk/htdocs/shop/selfpromo.bml.text.local =================================================================== --- trunk/htdocs/shop/selfpromo.bml.text.local 2011-08-24 08:54:58 UTC (rev 10914) +++ trunk/htdocs/shop/selfpromo.bml.text.local 2011-08-24 08:55:42 UTC (rev 10915) @@ -28,6 +28,8 @@ .info.btn.withdraw=Withdraw +.info.title.entrie=Your entrie preview + .info.title.remote=You already promote an entry .info.title.somebody=Somebody already promotes an entry Modified: trunk/htdocs/stc/shop/shop.css =================================================================== --- trunk/htdocs/stc/shop/shop.css 2011-08-24 08:54:58 UTC (rev 10914) +++ trunk/htdocs/stc/shop/shop.css 2011-08-24 08:55:42 UTC (rev 10915) @@ -1605,13 +1605,19 @@ /* Self promo ------------------------------------------------------------------------*/ -.selfpromo H3 { - margin-bottom: 10px; - line-height: 16px; - font-style: normal; - font-size: 14px; - color: #000; +.selfpromo { + margin-top: 20px; } + .selfpromo H3 { + margin-bottom: 10px; + line-height: 16px; + font-style: normal; + font-size: 14px; + color: #000; + } + .selfpromo .rate-posts-item { + margin-bottom: 0; + } /* Self promo intro */ .b-selfpromo-intro { min-height: 230px; Modified: trunk/templates/Shop/SelfPromo.tmpl =================================================================== --- trunk/templates/Shop/SelfPromo.tmpl 2011-08-24 08:54:58 UTC (rev 10914) +++ trunk/templates/Shop/SelfPromo.tmpl 2011-08-24 08:55:42 UTC (rev 10915) @@ -59,8 +59,12 @@ <fieldset class="price-description"> <p id="price_description"><TMPL_VAR expr="ml('/shop/selfpromo.bml.price_description')"></p> </fieldset> + <div class="selfpromo" style="display: none;"> + <h3><TMPL_VAR expr="ml('/shop/selfpromo.bml.info.title.entrie')"></h3> + <div id="selfpromo-preview"></div> + </div> <fieldset class="submit-options"> - <button type="button" id="selfpromo-preview-button"><TMPL_VAR expr="ml('/shop/selfpromo.bml.btn.preview')"></button> + <button type="button" id="selfpromo-preview-button">Preview</button> <button type="submit"><TMPL_VAR expr="ml('/shop/selfpromo.bml.btn.submit')"></button> </fieldset> </div>