mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Fix SO message and fix search text
This commit is contained in:
parent
39875a73f0
commit
6aa7546c2e
3 changed files with 3 additions and 3 deletions
|
@ -2957,7 +2957,7 @@ class PortfolioAdmin(ListHeaderAdmin):
|
|||
|
||||
list_display = ("organization_name", "organization_type", "federal_type", "creator")
|
||||
search_fields = ["organization_name"]
|
||||
search_help_text = "Search by portfolio organization."
|
||||
search_help_text = "Search by organization name."
|
||||
readonly_fields = [
|
||||
# This is the created_at field
|
||||
"created_on",
|
||||
|
|
|
@ -978,7 +978,7 @@ function initializeWidgetOnList(list, parentId) {
|
|||
$seniorOfficial.val("").trigger("change");
|
||||
}else {
|
||||
// Show the "create one now" text if this field is none in readonly mode.
|
||||
readonlySeniorOfficial.innerHTML = '<a href="admin/registrar/seniorofficial/add/">No senior official has been found. Create one now.</a>'
|
||||
readonlySeniorOfficial.innerHTML = '<a href="admin/registrar/seniorofficial/add/">No senior official found. Create one now.</a>'
|
||||
}
|
||||
console.warn("Record not found: " + data.error);
|
||||
}else {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{% else %}
|
||||
{% url "admin:registrar_seniorofficial_add" as url %}
|
||||
<div class="readonly">
|
||||
<a href={{ url }}>No senior official has been found. Create one now.</a>
|
||||
<a href={{ url }}>No senior official found. Create one now.</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue