.
This commit is contained in:
@@ -629,4 +629,13 @@ input {
|
||||
color: blue;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-size: smaller;
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
opacity: 100%;
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
<a href="{% url 'admin:anatomy_anatomyquestion_change' question.id %}"
|
||||
title="Edit the Question using the admin interface">Admin Edit</a>
|
||||
<div class="date">
|
||||
Created: {{ question.created_date }}
|
||||
Created: {{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
<h1>{{ question.get_primary_answer }}</h1>
|
||||
<h2>{{question.question_type}}</h2>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% for question in questions %}
|
||||
<div class="anatomy">
|
||||
<div class="date">
|
||||
{{ question.created_date }}
|
||||
{{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
<h1><a href="{% url 'anatomy:question_detail' pk=question.pk %}">{% for answer in question.answers.all %}
|
||||
{{ answer }},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="long {% if question.scrapped %}long-scrapped{% endif %}">
|
||||
<div class="date">
|
||||
{{ question.created_date }}
|
||||
{{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
<p class="pre-whitespace"><b>Description:</b> {{ question.description }}</p>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="question">
|
||||
<a href="{% url 'admin:physics_question_change' question.id %}" title="Edit the Question using the admin interface">Admin Edit</a>
|
||||
<div class="date">
|
||||
Created: {{ question.created_date }}
|
||||
Created: {{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
{% autoescape off %}
|
||||
<h2>{{question.stem}}</h2>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% for question in questions %}
|
||||
<div class="anatomy">
|
||||
<div class="date">
|
||||
{{ question.created_date }}
|
||||
{{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
<h1><a href="{% url 'anatomy:question_detail' pk=question.pk %}">{% for answer in question.answers.all %}
|
||||
{{ answer }},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="rapid {% if question.scrapped %}rapid-scrapped{% endif %}">
|
||||
<div class="date">
|
||||
{{ question.created_date }}
|
||||
{{ question.created_date|date:"d/m/Y" }}
|
||||
</div>
|
||||
|
||||
<p class="pre-whitespace"><b>Rapid:</b> {{ question }}</p>
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="question">
|
||||
<a href="{% url 'admin:sbas_question_change' question.id %}" title="Edit the Question using the admin interface">Admin Edit</a>
|
||||
<a href="{% url 'admin:sbas_question_change' question.id %}"
|
||||
title="Edit the Question using the admin interface">Admin Edit</a>
|
||||
<div class="date">
|
||||
Created: {{ question.created_date }}
|
||||
Created: {{ question.created_date|date:"d/m/Y"}}
|
||||
</div>
|
||||
{% autoescape off %}
|
||||
<b>{{question.stem}}</b>
|
||||
@@ -30,8 +31,8 @@
|
||||
|
||||
<div>
|
||||
Author: {% for user in question.author.all %}
|
||||
{{ author }},
|
||||
{% endfor %}
|
||||
{{ author }},
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -629,4 +629,13 @@ input {
|
||||
color: blue;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-size: smaller;
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
opacity: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user