Move rigboard templates up a level

Also:
- Find and replace panel -> card
- Some base template work
- gulpfile things, added dep on django-gulp
This commit is contained in:
2020-03-09 21:44:09 +00:00
parent 6c72f070f2
commit 1df1784d02
65 changed files with 225 additions and 227 deletions

View File

@@ -0,0 +1,4 @@
{% load to_class_name from filters %}
{# pass in variable "object" to this template #}
<a title="{% if object.is_rig == False %}Non-rig{% elif object.dry_hire %}Dry Hire{% elif object.is_rig %}Rig{%else%}{{object|to_class_name}}{% endif %} | '{{object.name}}'" href="{{ object.get_absolute_url }}">{% if object.is_rig == False %}Non-rig{% elif object.dry_hire %}Dry Hire{% elif object.is_rig %}Rig{%else%}{{object|to_class_name}}{% endif %} | '{{ object.activity_feed_string|default:object.name }}'</a>