Author: jp_morvan
Date: 2010-04-14 15:04:42 +0200 (Wed, 14 Apr 2010)
New Revision: 29138
Modified:
plugins/vjCommentPlugin/TRUNK/TODO
plugins/vjCommentPlugin/TRUNK/i18n/fr/vjComment.xml
plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_formComment.php
plugins/vjCommentPlugin/TRUNK/web/css/formComment.css
plugins/vjCommentPlugin/TRUNK/web/css/formComment.min.css
Log:
add css and translation for not logged message
Modified: plugins/vjCommentPlugin/TRUNK/TODO
===================================================================
--- plugins/vjCommentPlugin/TRUNK/TODO 2010-04-14 13:00:10 UTC (rev 29137)
+++ plugins/vjCommentPlugin/TRUNK/TODO 2010-04-14 13:04:42 UTC (rev 29138)
@@ -6,5 +6,4 @@
* set gravatar to call from gravatar website, OR use custom method to retrieve
avatars. (trying to set folder outside of web/ for uploads makes it tricky to
use gravatars).
* Find a way to connect Comments with Commentable object through relation.
* Listener for the routes
-* Special fields and listener for sfGuardUser and models
-* Add css for 'Please log in to comment'
\ No newline at end of file
+* Special fields and listener for sfGuardUser and models
\ No newline at end of file
Modified: plugins/vjCommentPlugin/TRUNK/i18n/fr/vjComment.xml
===================================================================
--- plugins/vjCommentPlugin/TRUNK/i18n/fr/vjComment.xml 2010-04-14 13:00:10 UTC
(rev 29137)
+++ plugins/vjCommentPlugin/TRUNK/i18n/fr/vjComment.xml 2010-04-14 13:04:42 UTC
(rev 29138)
@@ -115,6 +115,10 @@
<source>Must start with http:// or https://</source>
<target>Doit commencer par http:// ou https://</target>
</trans-unit>
+ <trans-unit>
+ <source>Please log in to comment</source>
+ <target>Merci de vous identifier afin de commenter</target>
+ </trans-unit>
</body>
</file>
</xliff>
Modified:
plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_formComment.php
===================================================================
--- plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_formComment.php
2010-04-14 13:00:10 UTC (rev 29137)
+++ plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_formComment.php
2010-04-14 13:04:42 UTC (rev 29138)
@@ -18,6 +18,6 @@
</fieldset>
</form>
<?php else: ?>
- <?php echo __('Please log in to comment', array(), 'vjComment') ?>
+ <div id="notlogged"><?php echo __('Please log in to comment', array(),
'vjComment') ?></div>
<?php endif ?>
</div>
\ No newline at end of file
Modified: plugins/vjCommentPlugin/TRUNK/web/css/formComment.css
===================================================================
--- plugins/vjCommentPlugin/TRUNK/web/css/formComment.css 2010-04-14
13:00:10 UTC (rev 29137)
+++ plugins/vjCommentPlugin/TRUNK/web/css/formComment.css 2010-04-14
13:04:42 UTC (rev 29138)
@@ -23,4 +23,10 @@
font-size: smaller;
color:#444444;
font-style: italic;
+}
+
+div.form-comment #notlogged{
+ text-align: center;
+ color: #ff0000;
+ font-weight: bold;
}
\ No newline at end of file
Modified: plugins/vjCommentPlugin/TRUNK/web/css/formComment.min.css
===================================================================
--- plugins/vjCommentPlugin/TRUNK/web/css/formComment.min.css 2010-04-14
13:00:10 UTC (rev 29137)
+++ plugins/vjCommentPlugin/TRUNK/web/css/formComment.min.css 2010-04-14
13:04:42 UTC (rev 29138)
@@ -1 +1 @@
-div.form-comment{ width:500px;}div.form-comment input,div.form-comment
textarea{ margin-top:10px;width:350px;}div.form-comment
tr#tr_reply_author,div.form-comment tr#tr_reply_author_delete{ display:
none;}div.form-comment input[readonly]{ background-color:
transparent;border:none;color:#444444;margin-top:2px;font-weight:bold;}div.form-comment
a.delete_reply{font-size: smaller;color:#444444;font-style: italic;}
\ No newline at end of file
+div.form-comment{ width:500px;}div.form-comment input,div.form-comment
textarea{ margin-top:10px;width:350px;}div.form-comment
tr#tr_reply_author,div.form-comment tr#tr_reply_author_delete{ display:
none;}div.form-comment input:readonly{ background-color:
transparent;border:none;color:#444444;margin-top:2px;font-weight:bold;}div.form-comment
a.delete_reply{ font-size: smaller;color:#444444;font-style:
italic;}div.form-comment #notlogged{
text-align:center;color:#ff0000;font-weight:bold;}
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.