Skip to content

Commit dfee10a

Browse files
committed
Restored the functionality of showing both AD and Shepherd for documents
shown for searches and document lists. - Legacy-Id: 5842
1 parent 07683ca commit dfee10a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/idrfc/views_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def sort_key(d):
303303
{'title': 'Date', 'key':'date'},
304304
{'title': 'Status', 'key':'status', 'colspan':'2'},
305305
{'title': 'IPR', 'key':'ipr'},
306-
{'title': 'Area Director', 'key':'ad'}]
306+
{'title': 'AD / Shepherd', 'key':'ad'}]
307307

308308
if hasattr(form.data, "urlencode"): # form was fed a Django QueryDict, not local plain dict
309309
d = form.data.copy()

ietf/templates/idrfc/search_result_row.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
{% endif %}
7171
</td>
7272

73-
<td class="ad">{{ doc.ad|default:"" }}</td>
73+
<td class="ad">{{ doc.ad|default:"" }}<div class="search-text-shepherd">{{doc.shepherd|default:""}}</div></td>
7474

7575
</tr>

static/css/base2.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ form#search_form { padding-top: 4px; padding-bottom: 4px; }
107107
#search_form #id_positionAd { width:248px; }
108108
#search_form #id_group {width: 120px; margin-right:4px; }
109109
#search_form #id_area {width:120px; }
110+
.search-text-shepherd { color: #808080; }
110111

111112
table.ietf-table { border-collapse:collapse; border:1px solid #7f7f7f; }
112113
.ietf-table tr.evenrow { background-color: #EDF5FF; }

0 commit comments

Comments
 (0)