mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Add a default card image when no custom one exists (#23)
* Add a default card image when no custom one exists * Add coming_soon.png source * Use directly the svg source instead of the png raster
This commit is contained in:
5
ram/portal/context_processors.py
Normal file
5
ram/portal/context_processors.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
def default_card_image(request):
|
||||
return {"DEFAULT_CARD_IMAGE": settings.DEFAULT_CARD_IMAGE}
|
Reference in New Issue
Block a user