add message for no own articles yet

This commit is contained in:
Sanj 2011-07-10 05:05:53 +05:30
parent 67706a2420
commit 96bf4c1ade

View File

@ -52,6 +52,7 @@ If you are a participant looking to open a new account, please write to contact@
</p> </p>
</div> </div>
<div id="publishBlockright"> <div id="publishBlockright">
<h4 class="listHeader">Edit your own articles:</h4> <h4 class="listHeader">Edit your own articles:</h4>
<ul id="ownList" class="articleList"> <ul id="ownList" class="articleList">
{% for o in own_list %} {% for o in own_list %}
@ -59,8 +60,11 @@ If you are a participant looking to open a new account, please write to contact@
<span class="articleTitle">{{ o.title }}</span> <span class="articleTitle">{{ o.title }}</span>
{% if o.is_locked %} locked {% else %} <a href="{{ o.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %} {% if o.is_locked %} locked {% else %} <a href="{{ o.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %}
<a href="{{ o.web_url }}" title="View as Webpage" target="_blank">web</a> <a href="{{ o.web_url }}" title="View as Webpage" target="_blank">web</a>
<a href="#" class="createCopy">copy</a> <a href="#" class="createCopy" title="Create a copy of this article!">copy</a>
</li> </li>
{% empty %}
<li>You haven't created any articles yet. Copy a template below to get started...</li>
{% endfor %} {% endfor %}
</ul> </ul>
<h4 class="listHeader">Create New Article - Pick a template and click 'copy':</h4> <h4 class="listHeader">Create New Article - Pick a template and click 'copy':</h4>
@ -70,7 +74,7 @@ If you are a participant looking to open a new account, please write to contact@
<span class="articleTitle">{{ t.title }}</span> <span class="articleTitle">{{ t.title }}</span>
{% if o.is_locked %} {% else %} <a href="{{ t.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %} {% if o.is_locked %} {% else %} <a href="{{ t.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %}
<a href="{{ t.web_url }}" title="View as Webpage" target="_blank">web</a> <a href="{{ t.web_url }}" title="View as Webpage" target="_blank">web</a>
<a href="#" class="createCopy">copy</a> <a href="#" class="createCopy" title="Create a copy of this article!">copy</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -81,7 +85,7 @@ If you are a participant looking to open a new account, please write to contact@
<li data-id="{{ p.id }}"> <li data-id="{{ p.id }}">
<span class="articleTitle">{{ p.title }}</span> <span class="articleTitle">{{ p.title }}</span>
<a href="{{ p.web_url }}" title="View as Webpage" target="_blank">web</a> <a href="{{ p.web_url }}" title="View as Webpage" target="_blank">web</a>
<a href="#" class="createCopy">copy</a> <a href="#" class="createCopy" title="Create a copy of this article!">copy</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>