Merged [2610] from rjsparks@nostrum.com: Retained search results on login:
* Changed the two search controls to use get instead of put * Populated the Sign In link's next argument with the full URL path. Fixes #482. - Legacy-Id: 2629 Note: SVN reference [2610] has been migrated to Git commit 96faec1e328f19ac8a326f95c59cad0f63fe1492
This commit is contained in:
parent
3ac5bd3154
commit
2c804b1457
|
@ -63,7 +63,7 @@ IETF.user_groups = { {% for group in user.groups.all %}"{{group}}":true{% if not
|
|||
<div id="ietf-login" class="noprint">{% if user.is_authenticated %}
|
||||
{{ user }}
|
||||
{% else %}
|
||||
<a href="/accounts/login/?next={{request.path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
<a href="/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
{% endif %}</div>
|
||||
|
||||
<table style="margin-left:8px;margin-top:8px;" width="98%;">
|
||||
|
|
|
@ -63,7 +63,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
<li class="sect">Drafts & RFCs</li>
|
||||
<li><a href="/doc/">Search</a></li>
|
||||
<li><form action="/doc/search/" method="post" style="padding-bottom:0;margin-bottom:0;"><input type="text" style="margin-left:10px; width:100px; border:1px solid #89d;" name="name" /><input type="hidden" name="activeDrafts" value="on"/><input type="hidden" name="rfcs" value="on"/></form></li>
|
||||
<li><form action="/doc/search/" method="get" style="padding-bottom:0;margin-bottom:0;"><input type="text" style="margin-left:10px; width:100px; border:1px solid #89d;" name="name" /><input type="hidden" name="activeDrafts" value="on"/><input type="hidden" name="rfcs" value="on"/></form></li>
|
||||
<li><a href="https://datatracker.ietf.org/idst/upload.cgi">Submit a draft</a></li>
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{% endcomment %}
|
||||
|
||||
<form name="search_form" id="search_form" class="search_form" action="/doc/search/" method="post" {# onsubmit="submitSearch();return false;" #}>
|
||||
<form name="search_form" id="search_form" class="search_form" action="/doc/search/" method="get" {# onsubmit="submitSearch();return false;" #}>
|
||||
|
||||
<div class="search_field">
|
||||
<label>Name/number/title:</label> {{ form.name }}
|
||||
|
|
Loading…
Reference in a new issue