Update YouTube credentials handling to include channel title in home template
This commit is contained in:
parent
aafb7817c2
commit
da29634e57
2 changed files with 11 additions and 1 deletions
|
@ -11,6 +11,8 @@
|
|||
<p>
|
||||
{% if not user.youtubecredentials.credentials %}
|
||||
<a href="{% url "youtube_login" %}" role="button"><i class="ri-youtube-fill"></i> Me connecter au compte Youtube</a>
|
||||
{% else %}
|
||||
<i class="ri-youtube-fill"></i> Connecté au compte Youtube <strong>{{ user.youtubecredentials.credentials.channel_title }}</strong>.
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if user.owned_group_set.exists or user.group_set.exists %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue