Merge pull request #14 from saurabh6790/membership_payments

[minor][fix] caching and broken link fix for job-portal
This commit is contained in:
Saurabh
2017-04-06 17:16:56 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ class PortalJob(WebsiteGenerator):
def get_list_context(context):
context.allow_guest = True
context.no_cache = True
context.title = 'ERPNext Jobs'
context.no_breadcrumbs = True
context.order_by = 'creation desc'

View File

@@ -35,6 +35,6 @@
</tr>
</table>
{% else %}
<p><a href="/membership">Become an ERPNext Foundation member to view contact details</a></p>
<p><a href="/members">Become an ERPNext Foundation member to view contact details</a></p>
{% endif %}
{% endblock %}