Restored the functionality of showing both AD and Shepherd for documents

shown for searches and document lists.
 - Legacy-Id: 5842
This commit is contained in:
Henrik Levkowetz 2013-07-18 15:42:30 +00:00
parent 07683cae08
commit dfee10aa92
3 changed files with 3 additions and 2 deletions

View file

@ -303,7 +303,7 @@ def retrieve_search_results(form):
{'title': 'Date', 'key':'date'},
{'title': 'Status', 'key':'status', 'colspan':'2'},
{'title': 'IPR', 'key':'ipr'},
{'title': 'Area Director', 'key':'ad'}]
{'title': 'AD / Shepherd', 'key':'ad'}]
if hasattr(form.data, "urlencode"): # form was fed a Django QueryDict, not local plain dict
d = form.data.copy()

View file

@ -70,6 +70,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endif %}
</td>
<td class="ad">{{ doc.ad|default:"" }}</td>
<td class="ad">{{ doc.ad|default:"" }}<div class="search-text-shepherd">{{doc.shepherd|default:""}}</div></td>
</tr>

View file

@ -107,6 +107,7 @@ form#search_form { padding-top: 4px; padding-bottom: 4px; }
#search_form #id_positionAd { width:248px; }
#search_form #id_group {width: 120px; margin-right:4px; }
#search_form #id_area {width:120px; }
.search-text-shepherd { color: #808080; }
table.ietf-table { border-collapse:collapse; border:1px solid #7f7f7f; }
.ietf-table tr.evenrow { background-color: #EDF5FF; }