Skip to content

Commit

Permalink
[FIX] website_slides: dont show upload button for public user
Browse files Browse the repository at this point in the history
This commit closes odoo#15369
  • Loading branch information
JKE-be committed Jan 17, 2018
1 parent 128656f commit 74b564c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions addons/website_slides/view/website_slides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@
<i class="fa fa-cloud-upload"></i> Upload
</a>
</t>
<t t-if="channel.can_upload and is_public_user">
<a class="btn btn-primary" title="Upload Presentation" t-attf-href="/web/login?redirect=/slides/#{slug(channel)}">
<i class="fa fa-cloud-upload"></i> Upload
</a>
</t>
</h3>
</div>
<!-- Search box -->
Expand Down

0 comments on commit 74b564c

Please sign in to comment.