diff options
| author | Dougal Matthews | 2014-11-18 17:20:42 +0000 |
|---|---|---|
| committer | Dougal Matthews | 2014-11-25 12:44:26 +0000 |
| commit | 8677316959c65da1305b0bfc7c06733093d5af3e (patch) | |
| tree | 3757d602d3e2c28753964cbe24390f4d1d477147 /docs_theme | |
| parent | b8aa7e0c34dc839a47b679aa2402d0f1b98704a0 (diff) | |
| download | django-rest-framework-8677316959c65da1305b0bfc7c06733093d5af3e.tar.bz2 | |
Disable prev and next links
Diffstat (limited to 'docs_theme')
| -rw-r--r-- | docs_theme/nav.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 0f3b9871..e6ab01ba 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -2,10 +2,10 @@ <div class="navbar-inner"> <div class="container-fluid"> <a class="repo-link btn btn-primary btn-small" href="https://github.com/tomchristie/django-rest-framework/tree/master">GitHub</a> - <a class="repo-link btn btn-inverse btn-small" rel="prev" {% if next_page %}href="{{ next_page.url }}"{% endif %}> + <a class="repo-link btn btn-inverse btn-small {% if not next_page %}disabled{% endif %}" rel="prev" {% if next_page %}href="{{ next_page.url }}"{% endif %}> Next <i class="icon-arrow-right icon-white"></i> </a> - <a class="repo-link btn btn-inverse btn-small" rel="next" {% if previous_page %}href="{{ previous_page.url }}"{% endif %}> + <a class="repo-link btn btn-inverse btn-small {% if not previous_page %}disabled{% endif %}" rel="next" {% if previous_page %}href="{{ previous_page.url }}"{% endif %}> <i class="icon-arrow-left icon-white"></i> Previous </a> <a class="repo-link btn btn-inverse btn-small" href="#searchModal" data-toggle="modal"><i class="icon-search icon-white"></i> Search</a> |
