Commit bfdbef4f authored by svilayphiou's avatar svilayphiou

merge

parent 2bef2862
{% load wikify relearn_tags %}<!DOCTYPE HTML>
<html{% if meta.language %} lang="{{ meta.language.0 }}" {% endif %} moznomarginboxes mozdisallowselectionprint>
<html xmlns="http://www.w3.org/1999/xhtml" {% if meta.language %} lang="{{ meta.language.0 }}" {% endif %} moznomarginboxes mozdisallowselectionprint>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
......@@ -54,7 +54,9 @@
{% if pad %}
{% if mode == 'r' %}
<a class="active button read-button screen-only">Read</a>
{% if user.is_authenticated %}
<a class="button screen-only write-button" href="{% url 'pad-write' pad.display_slug %}">Write</a>
{% endif %}
{% else %}
<a class="button screen-only read-button" href="{% url 'pad-read' 'r' pad.display_slug %}">Read</a>
<a class="active button screen-only write-button">Write</a>
......
......@@ -3,17 +3,17 @@
{% block extra_styles %}
{% ifequal mode "p" %}
<link rel="stylesheet/less" href="/offset-print/" type="text/css" media="all">
<link rel="stylesheet/less" href="{{ STATIC_URL }}less/print.less" type="text/css" media="all">
<link rel="stylesheet/less" href="{% url 'css-print' %}" type="text/css" media="all">
{% else %}
<link rel="stylesheet/less" href="{% url 'css' %}" type="text/css" media="screen">
<link rel="stylesheet/less" href="{% url 'css-print' %}" type="text/css" media="print">
<link rel="stylesheet/less" href="/css-print/" type="text/css" media="print">
{% endifequal %}
{% endblock %}
{% block head_meta %}
<meta property="og:type" content="article"/>
{% if meta %}
{% if meta.authors %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment