Browse Source

[IMP] renamed the add-on and added a rst

pull/7/head
Benjamin Bachmann 9 years ago
parent
commit
624b4f80e6
  1. 67
      social_media_icon_extention_tripadvisor/README.md
  2. 71
      social_media_tripadvisor/README.rst
  3. 0
      social_media_tripadvisor/__init__.py
  4. 2
      social_media_tripadvisor/__openerp__.py
  5. 0
      social_media_tripadvisor/models/__init__.py
  6. 0
      social_media_tripadvisor/models/res_config.py
  7. 0
      social_media_tripadvisor/models/website.py
  8. 0
      social_media_tripadvisor/static/description/blog.png
  9. 0
      social_media_tripadvisor/static/description/icon.png
  10. 0
      social_media_tripadvisor/static/description/index.html
  11. 0
      social_media_tripadvisor/static/description/settings.png
  12. 0
      social_media_tripadvisor/static/description/tripadvisor.jpg
  13. 0
      social_media_tripadvisor/static/description/webpage.png
  14. 0
      social_media_tripadvisor/views/res_config.xml
  15. 0
      social_media_tripadvisor/views/website_blog_template.xml
  16. 0
      social_media_tripadvisor/views/website_templates.xml
  17. 0
      social_media_tripadvisor/views/website_views.xml

67
social_media_icon_extention_tripadvisor/README.md

@ -1,67 +0,0 @@
<center>
<a href="http://www.tripadvisor.de/">
<img class="oe_picture" width="100" src="https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/tripadvisor.jpg?raw=true">
</a>
Extend Social Media Links
=========================
<img class="oe_picture" width="700" src="https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/settings.png?raw=true">
<img class="oe_picture" width="700" src="https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/webpage.png?raw=true">
Currently added:
Xing / Dribbble / Tripadvisor
</center>
Additional Info:
----------------
This Addon will load the current CSS Version 4.4.0 from Fontawesome in the assets (29KB).
Integration example:
--------------------
normal social icons:
<a t-att-href="website.social_facebook"
t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
<a t-att-href="website.social_twitter"
t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
<a t-att-href="website.social_linkedin"
t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
<a t-att-href="website.social_youtube"
t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
<a t-att-href="website.social_googleplus"
t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
<a t-att-href="website.social_github"
t-if="website.social_github"><i class="fa fa-github"/></a>
the new social icons:
<a t-att-href="website.social_tripadvisor"
t-if="website.social_tripadvisor"><i class="fa fa-tripadvisor"/></a>
Credits
=======
Contributors
------------
* Benjamin Bachmann (benniphx@gmail.com)
Maintainer
----------
<a href="http://odoo-community.org">
<img class="oe_picture" alt="Odoo Community Association" src="http://odoo-community.org/logo.png">
</a>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit <a href="http://odoo-community.org">http://odoo-community.org</a>.

71
social_media_tripadvisor/README.rst

@ -0,0 +1,71 @@
.. image:: https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/tripadvisor.jpg?raw=true
:width: 100
:target: http://www.tripadvisor.de
Extend Social Media Links
=========================
.. image:: https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/settings.png?raw=true
:width: 700
.. image:: https://github.com/blooparksystems/website/blob/8.0/website_social_media_icon_extention/static/description/webpage.png?raw=true
:width: 700
Currently added:
- Tripadvisor
Info:
-----
- By default, the icon will be shown on the footer, about us, and the Blog, like the original icons.
- This Addon will load the current CSS Version 4.4.0 from Fontawesome in the assets (29KB).
Configuration
-------------
- go in the backend under settings / website
- you can now also add your Tripadvisor Account
Usage:
------
- normal social icons:
<a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
<a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a>
<a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
<a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
<a t-att-href="website.social_googleplus" t-if="website.social_googleplus"><i class="fa fa-google-plus-square"/></a>
<a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
- the new social icons:
<a t-att-href="website.social_tripadvisor" t-if="website.social_tripadvisor"><i class="fa fa-tripadvisor"/></a>
Credits
=======
Contributors
------------
* Benjamin Bachmann (benniphx@gmail.com)
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.

0
social_media_icon_extention_tripadvisor/__init__.py → social_media_tripadvisor/__init__.py

2
social_media_icon_extention_tripadvisor/__openerp__.py → social_media_tripadvisor/__openerp__.py

@ -30,8 +30,6 @@
'version': '1.0',
'depends': [
'base',
'website',
'website_blog'
],

0
social_media_icon_extention_tripadvisor/models/__init__.py → social_media_tripadvisor/models/__init__.py

0
social_media_icon_extention_tripadvisor/models/res_config.py → social_media_tripadvisor/models/res_config.py

0
social_media_icon_extention_tripadvisor/models/website.py → social_media_tripadvisor/models/website.py

0
social_media_icon_extention_tripadvisor/static/description/blog.png → social_media_tripadvisor/static/description/blog.png

Before

Width: 294  |  Height: 596  |  Size: 43 KiB

After

Width: 294  |  Height: 596  |  Size: 43 KiB

0
social_media_icon_extention_tripadvisor/static/description/icon.png → social_media_tripadvisor/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 9.2 KiB

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

0
social_media_icon_extention_tripadvisor/static/description/index.html → social_media_tripadvisor/static/description/index.html

0
social_media_icon_extention_tripadvisor/static/description/settings.png → social_media_tripadvisor/static/description/settings.png

Before

Width: 979  |  Height: 322  |  Size: 79 KiB

After

Width: 979  |  Height: 322  |  Size: 79 KiB

0
social_media_icon_extention_tripadvisor/static/description/tripadvisor.jpg → social_media_tripadvisor/static/description/tripadvisor.jpg

Before

Width: 630  |  Height: 348  |  Size: 32 KiB

After

Width: 630  |  Height: 348  |  Size: 32 KiB

0
social_media_icon_extention_tripadvisor/static/description/webpage.png → social_media_tripadvisor/static/description/webpage.png

Before

Width: 1295  |  Height: 246  |  Size: 66 KiB

After

Width: 1295  |  Height: 246  |  Size: 66 KiB

0
social_media_icon_extention_tripadvisor/views/res_config.xml → social_media_tripadvisor/views/res_config.xml

0
social_media_icon_extention_tripadvisor/views/website_blog_template.xml → social_media_tripadvisor/views/website_blog_template.xml

0
social_media_icon_extention_tripadvisor/views/website_templates.xml → social_media_tripadvisor/views/website_templates.xml

0
social_media_icon_extention_tripadvisor/views/website_views.xml → social_media_tripadvisor/views/website_views.xml

Loading…
Cancel
Save