Upgrade jiathis share thirdpard plugin code template.#1796
Upgrade jiathis share thirdpard plugin code template.#1796ivan-nginx merged 6 commits intoiissnan:masterfrom
Conversation
ivan-nginx
left a comment
There was a problem hiding this comment.
Language must not be hardcoded.
| <a class="jiathis_button_qzone">QQ空间</a> | ||
| <a class="jiathis_button_tqq">腾讯微薄</a> | ||
| <a class="jiathis_button_douban">豆瓣</a> | ||
| <a class="jiathis_button_share">一键分享</a> |
There was a problem hiding this comment.
Can u translate this all labels in language dir?
| <a class="jiathis_button_douban">豆瓣</a> | ||
| <a class="jiathis_button_share">一键分享</a> | ||
|
|
||
| <a href="http://www.jiathis.com/share?uid=2140465" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a> |
|
@ivan-nginx Thanks for your CR. But I don't think we need do this. This third party plugin only useful in China may not other language people. Also other share target will use in EN language. So is you still hold to your point? |
|
Upgrade the analytics script code position, because someone maybe use icons display for analytics flag. So the script not suit in head mark. |
ivan-nginx
left a comment
There was a problem hiding this comment.
If u don't want to translate this, can u please add some comments about this is for China only?
layout/_layout.swig
Outdated
| <div class="footer-inner"> | ||
| {% include '_partials/footer.swig' %} | ||
| {% include '_third-party/analytics/busuanzi-counter.swig' %} | ||
| {% include '_third-party/analytics/index.swig' %} |
There was a problem hiding this comment.
busuanzi-counter is visible widget for footer. No need to do this.
| @@ -1,3 +1,4 @@ | |||
| {% include 'busuanzi-counter.swig' %} | |||
There was a problem hiding this comment.
busuanzi-counter is visible widget for footer. No need to do this.
There was a problem hiding this comment.
Also, if u move busuanzi-counter index to widget, u must delete it from index, right?
|
@ivan-nginx Sorry, maybe there you can't understand my explain about 56a8d62. There not only |
|
@elkan1788 awesome site! China have own cyrrillic domains too, this is good.
So, most part of this has no visible widget and if u want to see your CNZZ counter (or something else) in footer, u must do it as separated option, like Also, u can see in history of Please, take your time and do all rightly. |
|
@ivan-nginx Thanks for suggest and do all update under your point. Please check. :) |
| @@ -0,0 +1,4 @@ | |||
| {% include 'busuanzi-counter.swig' %} | |||
| {% include 'busuanzi-counter.swig' %} | |||
There was a problem hiding this comment.
Why repeat busuanzi-counter.swig?
layout/_layout.swig
Outdated
| <div class="footer-inner"> | ||
| {% include '_partials/footer.swig' %} | ||
| {% include '_third-party/analytics/busuanzi-counter.swig' %} | ||
| {% include '_third-party/analytics/analytics-width-widget.swig' %} |
There was a problem hiding this comment.
Maybe simple analytics-widget.swig?
| {% include 'busuanzi-counter.swig' %} | ||
| {% include 'facebook-sdk.swig' %} | ||
| {% include 'vkontakte-api.swig' %} | ||
| {% include 'google-analytics.swig' %} |
There was a problem hiding this comment.
Also, if u move tencent, cnzz and other from index to widget, u must delete it from index, right?
| @@ -0,0 +1,4 @@ | |||
| {% include 'busuanzi-counter.swig' %} | |||
| {% include 'busuanzi-counter.swig' %} | |||
| {% include 'tencent-mta.swig' %} | |||
There was a problem hiding this comment.
Are u tested tencent-mta.swig? I'm not sure, what is visible widget. Please, test it to be sure and also need to test tencent.swig.
|
@elkan1788 new comments added. Please, test it all (especially both |
|
@ivan-nginx So sorry about that. Now fixed the bugs and trim all analytics scripts: make sure the Tencent analytics script support widget find out in office website. |
|
@elkan1788 seems good. Good job and thanks! |
Upgrade jiathis share thirdpard plugin code template.
Upgrade jiathis share thirdpart plugin code template.