mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 14:49:31 +00:00
Cleanup of templates to use {% url %} for locations, instead of using hardcoded locations
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
|
||||
{% block content %}
|
||||
<h3>Applications</h3>
|
||||
<p><a href="/hr/applications/">View your current open applications</a><br/>
|
||||
<a href="/hr/add/application/">Create a application</a><br/></p>
|
||||
<p><a href="{% url hr.views.view_applications %}">View your current open applications</a><br/>
|
||||
<a href="{% url hr.views.add_application %}">Create a application</a><br/></p>
|
||||
<h3>Recommendations</h3>
|
||||
<p>
|
||||
<a href="/hr/recommendations/">View your current open recommendations</a><br/>
|
||||
<a href="/hr/add/recommendation/">Add a recommendation</a><br/>
|
||||
<a href="{% url hr.views.view_recommendations %}">View your current open recommendations</a><br/>
|
||||
<a href="{% url hr.views.add_recommendation %}">Add a recommendation</a><br/>
|
||||
</p>
|
||||
|
||||
{% if hrstaff %}
|
||||
<h3>HR Admin</h3>
|
||||
<p>
|
||||
<a href="/hr/admin/applications/">View applications</a><br/>
|
||||
<a href="{% url hr.views.admin_applications %}">View applications</a><br/>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user