You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/16 03:10:01 UTC

[1/2] docs commit: Fixed miscoloring in truncated blog post titles

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 2c7ac9838 -> 13f2e0505


Fixed miscoloring in truncated blog post titles


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/1c3217bd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/1c3217bd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/1c3217bd

Branch: refs/heads/cordova-website
Commit: 1c3217bd0eeb697e899a00964e89a2be3176a59b
Parents: 2c7ac98
Author: riknoll <ri...@microsoft.com>
Authored: Tue Sep 15 14:43:18 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Tue Sep 15 18:09:52 2015 -0700

----------------------------------------------------------------------
 www/static/css-src/_blog.scss | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1c3217bd/www/static/css-src/_blog.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_blog.scss b/www/static/css-src/_blog.scss
index 0d6a865..3b6660c 100644
--- a/www/static/css-src/_blog.scss
+++ b/www/static/css-src/_blog.scss
@@ -58,6 +58,7 @@
                     text-overflow: ellipsis;
                     overflow: hidden;
                     white-space: nowrap;
+                    color: $brand-primary-darker;
                 }
 
                 div:nth-of-type(2){


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] docs commit: Fixed React warning in console on plugins page

Posted by db...@apache.org.
Fixed React warning in console on plugins page


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/13f2e050
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/13f2e050
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/13f2e050

Branch: refs/heads/cordova-website
Commit: 13f2e050540bbaec0ae445f1ace3f30de7f721d4
Parents: 1c3217b
Author: riknoll <ri...@microsoft.com>
Authored: Tue Sep 15 15:07:28 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Tue Sep 15 18:09:53 2015 -0700

----------------------------------------------------------------------
 www/static/plugins/plugin.jsx             | 2 +-
 www/static/plugins/supportedplatforms.jsx | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/13f2e050/www/static/plugins/plugin.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/plugin.jsx b/www/static/plugins/plugin.jsx
index 4c8a183..4a41550 100755
--- a/www/static/plugins/plugin.jsx
+++ b/www/static/plugins/plugin.jsx
@@ -78,7 +78,7 @@ var Plugin = React.createClass({
                 <div className="row">
                     <div className="col-sm-8">
                         <p>{this.props.plugin.description}</p>
-                        <SupportedPlatforms keywords={this.props.plugin.keywords}/>
+                        <SupportedPlatforms keywords={this.props.plugin.keywords} plugin={this.props.plugin.name}/>
                     </div>
                     <div className="col-sm-3 col-sm-offset-1">
                         <hr className="visible-xs results-divider-line"/>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/13f2e050/www/static/plugins/supportedplatforms.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/supportedplatforms.jsx b/www/static/plugins/supportedplatforms.jsx
index cc9c6be..e125cbd 100755
--- a/www/static/plugins/supportedplatforms.jsx
+++ b/www/static/plugins/supportedplatforms.jsx
@@ -56,11 +56,17 @@ var SupportedPlatforms = React.createClass({
             }
         });
 
+        var that = this;
+
         sortedPlatforms.forEach(function(platform) {
             if(platform.present) {
                 // Becuase these images are taken from a sprite sheet, we have
                 // to use title rather than alt-text
-                platformsSupported.push(<li><div className={platform.icon} title={platform.alt}></div></li>)
+                platformsSupported.push(
+                    <li key={that.props.plugin + "-" + platform.alt}>
+                        <div className={platform.icon} title={platform.alt}></div>
+                    </li>
+                );
             }
         });
         return (


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org