1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

[bug] do not display "powered by disqus" if Disqus is disabled

This commit is contained in:
Sylvain 2021-03-02 17:02:20 +01:00
parent a01aa0dd75
commit 544b00e8a7
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- Improved the setup script
- Fix a bug: unable to install a new instance with an external reverse proxy
- Fix a bug: do not display "powered by disqus" if Disqus is disabled
## v4.7.2 2021 March 1st
- Updated yq to v4

View File

@ -62,7 +62,7 @@
<a ng-href="{{shareOnTwitter()}}" target="_blank" class="btn btn-twitter btn-lg m-t"><i class="fa fa-twitter m-r"></i> {{ 'app.public.projects_show.share_on_twitter' | translate }}</a>
</div>
<div class="wrapper-lg">
<div class="wrapper-lg" ng-if="disqusShortname">
<dir-disqus disqus-shortname="{{ disqusShortname }}" disqus-identifier="project_{{ project.id }}" disqus-url="{{ projectUrl }}" ready-to-bind="{{ project }}">
</dir-disqus>
</div>