Skip to content
Permalink
Browse files

Add configuration "hide_social_media_links" see BT#15010

  • Loading branch information...
jmontoyaa committed Jan 21, 2019
1 parent 1865476 commit ec1faa53b0d596624243f642f7e67972db9a4e19
@@ -1064,6 +1064,9 @@
// Allow to session admins login as teachers
//$_configuration['allow_session_admin_login_as_teacher'] = false;
// Hide social media links
//$_configuration['hide_social_media_links'] = false;
// ------ Custom DB changes (keep this at the end)
// Add user activation by confirmation email
// This option prevents the new user to login in the platform if your account is not confirmed via email
@@ -33,6 +33,7 @@
<img src="{{ course.image }}" class="img-responsive" />
</div>
{% endif %}
{% if not 'hide_social_media_links'|api_get_configuration_value %}
<div class="share-social-media">
<ul class="sharing-buttons">
<li>
@@ -58,6 +59,7 @@
</li>
</ul>
</div>
{% endif %}
</div>
<div class="col-sm-7">
<div class="course-description">
@@ -25,6 +25,8 @@
{{ session.getDescription() }}
</div>
{% endif %}

{% if not 'hide_social_media_links'|api_get_configuration_value %}
<div class="share-social-media">
<ul class="sharing-buttons">
<li>
@@ -50,6 +52,7 @@
</li>
</ul>
</div>
{% endif %}
</div>
<div class="col-md-4">
<div class="session-info">
@@ -38,6 +38,7 @@
<em class="fa fa-external-link-square fa-fw"></em> {{ 'ExportBadge'|get_lang }}
</a>
</p>
{% if not 'hide_social_media_links'|api_get_configuration_value %}
<div class='col-md-12 text-center'>
<h5><b> {{ 'ShareWithYourFriends' | get_lang }} </b></h5>
<a href="http://www.facebook.com/sharer.php?u={{ _p.web }}badge/{{ badge.issue_info.id }}" target="_new">
@@ -47,6 +48,7 @@
<em class='fa fa-twitter-square fa-3x text-light' aria-hidden='true'></em>
</a>
</div>
{% endif %}
{% endif %}
</div>
<div class="col-md-7">

3 comments on commit ec1faa5

@ywarnier

This comment has been minimized.

Copy link
Member

replied Jan 21, 2019

Hay que mandar esto a master también, no?

@jmontoyaa

This comment has been minimized.

Copy link
Member Author

replied Jan 22, 2019

Si, voy ha hacer un merge ahora de 1.11.x a master

@jmontoyaa

This comment has been minimized.

Copy link
Member Author

replied Jan 22, 2019

Agregado aquí:

e75dc39

Please sign in to comment.
You can’t perform that action at this time.