Skip to content

Commit

Permalink
Uniformize QR code designation
Browse files Browse the repository at this point in the history
  • Loading branch information
pampletousse authored and pampletousse committed Jan 24, 2024
1 parent 17bcd9d commit 8548994
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pod/live/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def formfield_for_foreignkey(self, db_field, request, **kwargs):
def qrcode(self, obj):
return obj.qrcode

qrcode.short_description = _("QR Code")
qrcode.short_description = _("QR code")
qrcode.allow_tags = True

class Media:
Expand Down
2 changes: 1 addition & 1 deletion pod/live/templates/live/event-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h2 class="modal-title h5" id="shareLabel">
<label>{% trans 'QR code for this link:' %}&nbsp;</label><br>
{{ qrcode }}
<br>
<button id="btnDownloadQrCode" type="submit" data-slug="{{ event.slug }}" class="btn btn-primary my-2" title="{% trans 'Download qrcode' %}">{% trans 'Download' %}</button>
<button id="btnDownloadQrCode" type="submit" data-slug="{{ event.slug }}" class="btn btn-primary my-2" title="{% trans 'Download this QR code' %}">{% trans 'Download' %}</button>
</div>
</fieldset>
</div> <!-- End modal body-->
Expand Down
2 changes: 1 addition & 1 deletion pod/video/templates/videos/video-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ <h2 class="modal-title h3" id="shareLabel">
<label>{% trans 'QR code for this link:' %}&nbsp;</label><br>
{{ qrcode }}
<br>
<button id="btnDownloadQrCode" type="submit" data-slug="{{ video.slug }}" class="btn btn-primary my-2" title="{% trans 'Download qrcode' %}">{% trans 'Download' %}</button>
<button id="btnDownloadQrCode" type="submit" data-slug="{{ video.slug }}" class="btn btn-primary my-2" title="{% trans 'Download this QR code' %}">{% trans 'Download' %}</button>
</div>
</fieldset>
</div>
Expand Down

0 comments on commit 8548994

Please sign in to comment.