Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 15 Dec 2013 18:14:28 UTC Commit: ae77c6958ca40570f9a3cafe453342ae90c46bb6 https://github.com/geany/www.geany.org/commit/ae77c6958ca40570f9a3cafe453342...
Log Message: ----------- Rename Pastebin About page to Help
Modified Paths: -------------- pastebin/templates/pastebin/base.html pastebin/templates/pastebin/help.html pastebin/urls.py
Modified: pastebin/templates/pastebin/base.html 6 files changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -9,7 +9,7 @@
{% block top_menu %} {% url 'home' as url_home %} -{% url 'about' as url_about %} +{% url 'help' as url_help %} {% url 'api' as url_api %} {% url 'snippet_list' as url_snippet_list %}
@@ -23,8 +23,8 @@ <li class="{% if request.path = url_home %} active{% endif %}"> <a href="{{ url_home }}">New snippet</a> </li> - <li class="{% if request.path = url_about %} active{% endif %}"> - <a href="{{ url_about }}">About</a> + <li class="{% if request.path = url_help %} active{% endif %}"> + <a href="{{ url_help }}">Help</a> </li> <li class="{% if request.path = url_api %} active{% endif %}"> <a href="{{ url_api }}">API</a>
Modified: pastebin/templates/pastebin/help.html 26 files changed, 26 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,26 @@ +{% extends "pastebin/base.html" %} + +{% block meta_title %} + About | {{ block.super }} +{% endblock %} + +{% block main %} +<div class="well"> + +<h3>What is pastebin?</h3> +<p>This pastebin is here to help you collaborate on debugging code snippets. If you're not familiar with the idea, +most people use it like this:</p> +<ul> +<li><a href="{% url 'home' %}">submit</a> a code fragment to pastebin, +getting a url like http://%7B%7B request.site.domain }}/abc1234</li> +<li>paste the url into an IRC or IM conversation</li> +<li>someone responds by reading and perhaps submitting a modification of your code</li> +</ul> + +<h3>How can I delete a post?</h3> +<p>Your posted snippets are remembered in your session, you will be able to delete the snippet from the same browser you posted from - +simply view the post and click the "delete" link.</p> +<p>In other cases, contact us and we will delete it for you.</p> + +</div> +{% endblock %}
Modified: pastebin/urls.py 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -22,8 +22,8 @@ # no admin on this site url(r'^admin/', 'mezzanine.core.views.page_not_found'),
- url(r'^about/$', TemplateView.as_view(template_name='pastebin/about.html'), name='about'), - url(r'^about/api/$', TemplateView.as_view(template_name='pastebin/api.html'), name='api'), + url(r'^help/$', TemplateView.as_view(template_name='pastebin/help.html'), name='help'), + url(r'^api/$', TemplateView.as_view(template_name='pastebin/api.html'), name='api'),
url(r'^api/$', 'pastebin.views.api_create'),
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).