Skip to content
Snippets Groups Projects
Commit 4738dea7 authored by Lorenz Zahn's avatar Lorenz Zahn
Browse files

calender media css

parent 658b6a3e
Branches
No related tags found
No related merge requests found
{% load i18n l10n %}
{{ form.media }}
{{ form.non_field_errors }}
<div class="calendar">
{% for month in fields_more %}
......
{% extends 'base.html' %}
{% load i18n customtags static %}
{% block head_extra %}<link rel="stylesheet" type="text/css" href="{% static 'styles/calendar.css' %}">{% endblock head_extra %}
{% block title %}{% translate "Workhours" %}{% endblock title %}
{% block main %}
<h1>{% blocktranslate with name=project.name number=project.invoice_number %}Project: {{ name }} (Invoice number: {{ number }})</h1>{% endblocktranslate %}
......
......@@ -6,6 +6,9 @@ from vkk.workhours.forms import date_iterator
# Forms
class WorkhourCalendarForm(forms.Form):
class Media:
css = { 'all': ('styles/calendar.css',) }
template_name_calendar = 'vkk/workhours/contributor/calendar.html'
def __init__(self, *args, period_pk=None, assignment_pk=None, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment