diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2018-08-02 00:13:15 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2018-08-02 00:13:15 +0300 |
commit | 3e6356d717d9dd59a9b73a39db3f08f4c721e255 (patch) | |
tree | 537dadde8aee0cf3ae16b5bf68deb9034499b00b /plugins/Widgetize | |
parent | 1aa34c3c73d367b586682d3f778967cd6b21cc70 (diff) |
Add privacy policy/terms and conditions settings and display in bottom of certain pages. (#13219)
* Add privacy policy/terms and conditions settings and display in bottom of certain pages.
* tweak
* simplify PrivacyManager::shouldRenderFooterLinks().
* Update system test files
* removes typo
* do not render view if no links available
* Remove footer margin in embedded widget.
* ensure footer margin doesn't change (for UI tests)
* update ui files
Diffstat (limited to 'plugins/Widgetize')
-rw-r--r-- | plugins/Widgetize/stylesheets/widgetize.less | 4 | ||||
-rw-r--r-- | plugins/Widgetize/templates/iframe.twig | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Widgetize/stylesheets/widgetize.less b/plugins/Widgetize/stylesheets/widgetize.less index f80de58588..d4bc1d43a2 100644 --- a/plugins/Widgetize/stylesheets/widgetize.less +++ b/plugins/Widgetize/stylesheets/widgetize.less @@ -43,4 +43,8 @@ body>.widget { body.widgetized { background-color: @theme-color-widget-exported-background-base; + + #pageFooter { + margin-bottom: 0; + } }
\ No newline at end of file diff --git a/plugins/Widgetize/templates/iframe.twig b/plugins/Widgetize/templates/iframe.twig index f0fc5ef8fa..12dd5b1b85 100644 --- a/plugins/Widgetize/templates/iframe.twig +++ b/plugins/Widgetize/templates/iframe.twig @@ -14,5 +14,8 @@ <div class="widget"> {{ content|raw }} </div> + <div id="pageFooter"> + {{ postEvent('Template.pageFooter') }} + </div> </body> </html> |