mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Resolves open issue 629
This commit is contained in:
1 parent
bb4f963812
commit
3a5146ea02
7448 files changed
+1
-1041060
No files matched your search
@@ -1,48 +0,0 @@
|
||||
{% extends request.ajax ? "layout_blank.phtml" : "layout_default.phtml" %}
|
||||
|
||||
{% block meta_title %}{% trans 'Example module' %}{% endblock %}
|
||||
{% block breadcrumb %} <li class="active">{% trans 'Example module' %}</li>{% endblock %}
|
||||
{% block page_header %}
|
||||
<article class="page-header">
|
||||
<h1>{% trans 'Example module title' %}</h1>
|
||||
</article>
|
||||
{% endblock%}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<article class="span12 data-block">
|
||||
<div class="data-container">
|
||||
<header>
|
||||
<h1>{% trans 'Example module title' %}</h1>
|
||||
<p>{% trans 'Example module description' %}</p>
|
||||
</header>
|
||||
<section>
|
||||
{{ guest.example_readme|markdown }}
|
||||
{% if client %}
|
||||
<a class="btn btn-primary" href="{{ 'example/protected'|link }}">{% trans 'See protected content' %}</a>
|
||||
{% else %}
|
||||
<a class="btn btn-primary" href="{{ 'login'|link }}">{% trans 'Login to client area' %}</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{% if show_protected %}
|
||||
<div class="row">
|
||||
<article class="span12 data-block">
|
||||
<div class="data-container">
|
||||
<header>
|
||||
<h2>{% trans 'This content can be seen only if client is logged in' %}</h2>
|
||||
</header>
|
||||
<section>
|
||||
<p>{% trans 'Your protected content' %}</p>
|
||||
<p><a class="btn btn-inverse" href="{{ 'client/me'|link }}">{% trans 'Manage profile' %}</a></p>
|
||||
</section>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user