Revision: 6505
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6505&view=rev
Author:   dnaber
Date:     2012-02-11 19:23:13 +0000 (Sat, 11 Feb 2012)
Log Message:
-----------
[community] small wording and layout improvements

Modified Paths:
--------------
    trunk/ltcommunity/grails-app/i18n/messages.properties
    trunk/ltcommunity/grails-app/views/_corpusMatches.gsp
    trunk/ltcommunity/grails-app/views/homepage/index.gsp
    trunk/ltcommunity/grails-app/views/layouts/main.gsp
    trunk/ltcommunity/web-app/css/main.css

Modified: trunk/ltcommunity/grails-app/i18n/messages.properties
===================================================================
--- trunk/ltcommunity/grails-app/i18n/messages.properties       2012-02-11 
18:41:03 UTC (rev 6504)
+++ trunk/ltcommunity/grails-app/i18n/messages.properties       2012-02-11 
19:23:13 UTC (rev 6505)
@@ -50,7 +50,7 @@
 
 ltc.registration.done.title=Registration Completed
 ltc.registration.done.text1=Thank you, your registration has been completed.
-ltc.registration.done.text2=You can now log in.                
+ltc.registration.done.text2=You can now log in.
 
 ltc.user.doregister.title=Registration
 ltc.user.doregister.text=An email has been sent to your email address. Please 
follow the link in the email to activate your account.
@@ -104,13 +104,13 @@
 ltc.vote.useless=Mark error message as useless/incorrect
 ltc.vote.useful=Mark error message as useful
 
-ltc.login.to.vote=Login to vote on this message
-ltc.visit.wikipedia.page=Visit Wikipedia page
+ltc.login.to.vote=Login to vote
+ltc.visit.wikipedia.page=Visit Wikipedia
 ltc.no.examples.errors=Sorry, no example error messages found in the database 
for language ''{0}''
 
-ltc.show.random.examples=Show other random examples
-ltc.show.all.matches=Show all matches
-ltc.show.user.votes=Show user votes
+ltc.show.random.examples=Other random examples
+ltc.show.all.matches=All matches
+ltc.show.user.votes=User votes
 
 ltc.no.rule.matches=No rule matches found in text (language used: {0})
 

Modified: trunk/ltcommunity/grails-app/views/_corpusMatches.gsp
===================================================================
--- trunk/ltcommunity/grails-app/views/_corpusMatches.gsp       2012-02-11 
18:41:03 UTC (rev 6504)
+++ trunk/ltcommunity/grails-app/views/_corpusMatches.gsp       2012-02-11 
19:23:13 UTC (rev 6505)
@@ -32,18 +32,16 @@
                <g:link controller="user" action="login" 
                 params="[lang: langCode, ids: matches.match.id]"><g:message 
code="ltc.login.to.vote"/></g:link>
             </g:else>
-            <p>
-                <g:link url="${matchInfo.match.sourceURI}"><g:message 
code="ltc.visit.wikipedia.page"/></g:link>
-            </p>
+            &middot; <g:link url="${matchInfo.match.sourceURI}"><g:message 
code="ltc.visit.wikipedia.page"/></g:link>
         </li>
     </g:each>
     <g:if test="${matches.size() == 0}">
        <li><g:message code="ltc.no.examples.errors" 
args="${[langCode.encodeAsHTML()]}"/></li>
     </g:if>
-    <g:if test="${matches.size() > 0}">
-        <li><g:link controller="homepage"
-           params="[lang:params.lang.encodeAsHTML()]"><g:message 
code="ltc.show.random.examples"/></g:link></li>
-        <li><g:link controller="corpusMatch" action="list" params="[lang: 
params.lang]"><g:message code="ltc.show.all.matches"/></g:link></li>
-        <li><g:link controller="userOpinion" action="list" params="[lang: 
params.lang]"><g:message code="ltc.show.user.votes"/></g:link></li>
-    </g:if>
 </ul>
+<g:if test="${matches.size() > 0}">
+    <g:link controller="homepage"
+       params="[lang:params.lang.encodeAsHTML()]"><g:message 
code="ltc.show.random.examples"/></g:link> &middot;
+    <g:link controller="corpusMatch" action="list" params="[lang: 
params.lang]"><g:message code="ltc.show.all.matches"/></g:link> &middot;
+    <g:link controller="userOpinion" action="list" params="[lang: 
params.lang]"><g:message code="ltc.show.user.votes"/></g:link>
+</g:if>

Modified: trunk/ltcommunity/grails-app/views/homepage/index.gsp
===================================================================
--- trunk/ltcommunity/grails-app/views/homepage/index.gsp       2012-02-11 
18:41:03 UTC (rev 6504)
+++ trunk/ltcommunity/grails-app/views/homepage/index.gsp       2012-02-11 
19:23:13 UTC (rev 6505)
@@ -11,9 +11,9 @@
 
         <div class="body">
 
+        <g:render template="/languageSelection"/>
+
         <div class="dialog">
-        
-            <g:render template="/languageSelection"/>
 
             <h2><g:link controller="wikiCheck"><g:message 
code="ltc.wiki.check"/></g:link></h2>
 

Modified: trunk/ltcommunity/grails-app/views/layouts/main.gsp
===================================================================
--- trunk/ltcommunity/grails-app/views/layouts/main.gsp 2012-02-11 18:41:03 UTC 
(rev 6504)
+++ trunk/ltcommunity/grails-app/views/layouts/main.gsp 2012-02-11 19:23:13 UTC 
(rev 6505)
@@ -21,26 +21,37 @@
                          homeLink += "?lang=" + params.lang;
                        }
                        %>
-               <h1 class="logo"><g:link url="${homeLink}"><g:message 
code="ltc.title"/></g:link></h1>
-               
-               <h3 class="sublogo"><g:message code="ltc.subtitle"/></h3>
-           
-               <g:if test="${session.user}">
-                   <div class="login"><g:message code="ltc.logged.in" 
args="${[session.user.username.encodeAsHTML()]}"/> -
-                   <g:link controller="user" action="logout"><g:message 
code="ltc.logout"/></g:link>
-                   -
-                   <g:link controller="user" action="settings"><g:message 
code="ltc.settings"/></g:link>
-                   </div>
-               </g:if>
-               <g:else>
-                   <div class="login"><g:link controller="user" 
action="login"><g:message code="ltc.login"/></g:link></div>
-               </g:else>
+            <table style="border: 0px">
+            <tr>
+                <td valign="top">
+                    <h1 class="logo"><g:link url="${homeLink}"><g:message 
code="ltc.title"/></g:link></h1>
 
+                       <h3 class="sublogo"><g:message 
code="ltc.subtitle"/></h3>
+                </td>
+                <td valign="top">
+                    <g:if test="${session.user}">
+                           <div class="login"><g:message code="ltc.logged.in" 
args="${[session.user.username.encodeAsHTML()]}"/> -
+                           <g:link controller="user" 
action="logout"><g:message code="ltc.logout"/></g:link>
+                           -
+                           <g:link controller="user" 
action="settings"><g:message code="ltc.settings"/></g:link>
+                           </div>
+                       </g:if>
+                       <g:else>
+                           <div class="login"><g:link controller="user" 
action="login"><g:message code="ltc.login"/></g:link></div>
+                       </g:else>
+                </td>
+            </tr>
+            </table>
+
         </div>
         
         <div id="spinner" class="spinner" style="display:none;">
             <img src="${resource(dir:'images',file:'spinner.gif')}" 
alt="Spinner" />
-        </div> 
-        <g:layoutBody />               
+        </div>
+
+        <div id="mainContent">
+            <g:layoutBody />
+        </div>
+
     </body>    
 </html>
\ No newline at end of file

Modified: trunk/ltcommunity/web-app/css/main.css
===================================================================
--- trunk/ltcommunity/web-app/css/main.css      2012-02-11 18:41:03 UTC (rev 
6504)
+++ trunk/ltcommunity/web-app/css/main.css      2012-02-11 19:23:13 UTC (rev 
6505)
@@ -17,6 +17,10 @@
     font: 12px verdana, arial, helvetica, sans-serif;
 }
 
+h2 a:link, a:visited, a:hover {
+    color: #67a918;
+}
+
 a:link, a:visited, a:hover {
     color: #678718;
     font-weight: bold;
@@ -235,6 +239,7 @@
 /* DIALOG */
 
 .dialog {
+    max-width: 800px;
 }
 
 .dialog table {
@@ -307,7 +312,9 @@
 }
 
 .logo {
+    margin-top: 0px;
     margin-left: 15px;
+    margin-bottom: 8px;
 }
 
 .sublogo {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to