working but not passing test_analysis
This commit is contained in:
42
rowers/templates/share.html
Normal file
42
rowers/templates/share.html
Normal file
@@ -0,0 +1,42 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
{% load leaflet_tags %}
|
||||
|
||||
{% block meta %}
|
||||
{% leaflet_js %}
|
||||
{% leaflet_css %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}Share Page{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% include "monitorjobs.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block og_title %}{{ race.name }}{% endblock %}
|
||||
{% block description %}Virtual Rowing Race {{ race.name }}{% endblock %}
|
||||
|
||||
{% if racelogo %}
|
||||
{% block og_image %}
|
||||
<meta property="og:image" content="http://rowsandall.com/{{ racelogo.filename|spacetohtml }}" />
|
||||
<meta property="og:image:secure_url" content="https://rowsandall.com/{{ racelogo.filename |spacetohtml }}" />
|
||||
<meta property="og:image:width" content="{{ racelogo.width }}" />
|
||||
<meta property="og:image:height" content="{{ racelogo.height }}" />
|
||||
{% endblock %}
|
||||
{% block image_src %}
|
||||
<link rel="image_src" href="/{{ racelogo.filename |spacetohtml }}" />
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
|
||||
<h1>Sharing link created.</h1>
|
||||
<p>The link is <a href="{{ base_url }}{% url 'sharedPage' key.pk %}">{{ base_url }}{% url 'sharedPage' key.pk %}</a>. It will be valid until {{ key.expiration_date|date:"l, N dS" }} at {{ key.expiration_date|time:"g:i a" }}.</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_racing.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user