If I get your request right, you want to display icons on each row
of your table.
In my projects, I'm using a font face. It's easy to use, scalable,
and you don't need any {% static %} templatetags in your templates.
Personnaly using icomoon to manage my icons.
https://icomoon.io/app/
Then you generate your font and include it in your html :)
Hope I helped you
On 03/03/2015 07:17 PM, dk wrote:
I will be populating a table with information of computers and I would
like to display an icon in front of each line of the table. might
change depending of the machine, should I let the view handle that
with and if then and later on use static to resolve the file path?
or should I make that if then and resolve the path by myself in the view?
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/0a3fb3f1-1c24-4fa0-a7ed-4b21a2c99430%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/0a3fb3f1-1c24-4fa0-a7ed-4b21a2c99430%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/54F6CF2E.2060605%40arkade.info.
For more options, visit https://groups.google.com/d/optout.