Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r11876: LJSUP-12055: Long domain name looks inco...

Committer: esavintcev
LJSUP-12055: Long domain name looks incorrect in the Manage Domains form
U   trunk/htdocs/stc/shop/shop.css
U   trunk/templates/Shop/DomainRU.tmpl
Modified: trunk/htdocs/stc/shop/shop.css
===================================================================
--- trunk/htdocs/stc/shop/shop.css	2012-05-03 12:24:44 UTC (rev 11875)
+++ trunk/htdocs/stc/shop/shop.css	2012-05-03 12:45:12 UTC (rev 11876)
@@ -2256,6 +2256,11 @@
 		.s-lanzelot .b-domainru-domains .b-domainru-domains-remove {
 			padding-top: 12px;
 			}
+			.b-domainru-domains-domain-container {
+				margin: 0;
+				width: 250px;
+				word-wrap: break-word;
+				}
 	.b-domainru-remove,
 	.b-domainru-remove:link,
 	.b-domainru-remove:visited,

Modified: trunk/templates/Shop/DomainRU.tmpl
===================================================================
--- trunk/templates/Shop/DomainRU.tmpl	2012-05-03 12:24:44 UTC (rev 11875)
+++ trunk/templates/Shop/DomainRU.tmpl	2012-05-03 12:45:12 UTC (rev 11876)
@@ -7,11 +7,11 @@
         {{html userpic}}
     </td>
     <td class="b-domainru-domains-domain">
-        <a href="http://${domain}.zhzh.rf" target="_blank">${domain}<TMPL_VAR expr="ml('shop.view.domainru.url')"></a>
+        <p class="b-domainru-domains-domain-container"><a href="http://${domain}<TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank">${domain}<TMPL_VAR expr="ml('shop.view.domainru.url')"></a></p>
     </td>
     <td class="b-domainru-domains-remove">
-        <a href="?type=manage&amp;delete=1&amp;auth=${user}&amp;dom=${domain}" title="Remove domain" class="b-domainru-remove" data-domain="${domain}" data-user="${user}">
-            <i class="b-domainru-remove-icon"></i>Remove domain
+        <a href="?type=manage&amp;delete=1&amp;auth=${user}&amp;dom=${domain}" title="<TMPL_VAR expr="ml('shop.view.domainru.remove')">" class="b-domainru-remove" data-domain="${domain}" data-user="${user}">
+            <i class="b-domainru-remove-icon"></i><TMPL_VAR expr="ml('shop.view.domainru.remove')">
         </a>
     </td>
 </tr>
@@ -55,7 +55,7 @@
                             <dl class="b-domainru-field">
                                 <dt class="b-domainru-field-head"><label for="src_name"><TMPL_VAR expr="ml('shop.view.domainru.desired')"></dt>
                                 <dd class="b-domainru-field-body">
-                                    <input type="text" name="src_name" id="src_name" class="b-domainru-name" />
+                                    <input type="text" name="src_name" id="src_name" size="38" maxlength="38" class="b-domainru-name" />
                                     <TMPL_VAR expr="ml('shop.view.domainru.url')">
                                     <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-exists"><TMPL_VAR expr="ml('shop.view.domainru.exists')"></p>
                                     <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-tokens"><TMPL_VAR expr="ml('shop.view.domainru.notenough')"></p>
@@ -82,7 +82,7 @@
                                     <TMPL_VAR auth_display>
                                 </td>
                                 <td class="b-domainru-domains-domain">
-                                    <a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"></a>
+                                    <p class="b-domainru-domains-domain-container"><a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"></a></p>
                                 </td>
                                 <td class="b-domainru-domains-remove">
                                     <a href="?type=manage&amp;delete=1&amp;auth=<TMPL_VAR auth>&amp;dom=<TMPL_VAR dom>" 

Tags: css, esavintcev, ljcom, savintsev_egor, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments