Add title field to YoutubeCredentials model and update related templates and tasks
This commit is contained in:
parent
f36fe8ea84
commit
83404e2ed5
6 changed files with 22 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
|||
{% 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>.
|
||||
<i class="ri-youtube-fill"></i> Connecté au compte Youtube <strong>{{ user.youtubecredentials.title }}</strong>.
|
||||
{% endif %}
|
||||
</p>
|
||||
<h2>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{% 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> Une playlist sera générée automatiquement sur le compte Youtube <strong>{{ user.youtubecredentials.credentials.channel_title }}</strong>.
|
||||
<i class="ri-youtube-fill"></i> Une playlist sera générée automatiquement sur le compte Youtube <strong>{{ user.youtubecredentials.title }}</strong>.
|
||||
{% endif %}
|
||||
</p>
|
||||
{% form form %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue