Skip to content

Commit

Permalink
style changes to admin page for dq admin link (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhuang091 authored and djtfmartin committed Dec 9, 2021
1 parent c78010a commit 86b776a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions grails-app/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ admin.outagem.form.label04 = Display message
admin.outagem.form.span04 = check this to show the message (dates are still required to be valid)
admin.outagem.form.submit = Submit

admin.dataquality.heading=Data Quality Filters
admin.dataquality.link.text=Data Quality filters admin interface

home.index.title = Search for records
home.index.body.title = Search for records in
Expand Down
16 changes: 8 additions & 8 deletions grails-app/views/admin/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
<b><g:message code="home.index.body.alert" default="Alert:"/></b> <alatag:stripApiKey message="${flash.message}"/>
</div>
</g:if>

<h2>Cache management</h2>
<div class="btn-group">
<div class="panel-heading">
<h3>Cache management</h3>
</div>
<div class="btn-group panel-body">
<a href="${g.createLink(action:'clearAllCaches')}" class="btn btn-primary ">Clear all caches</a>
<a href="${g.createLink(action:'clearCollectoryCache')}" class="btn btn-default">Clear collectory cache</a>
<a href="${g.createLink(action:'clearFacetsCache')}" class="btn btn-default">Clear facets cache</a>
Expand All @@ -45,12 +46,11 @@
</div>

<alatag:ifDataQualityEnabled>
<h2>Data Quality Filters</h2>
<div class="message alert alert-info">
Add default filters for all queries run through this hub.
<div class="panel-heading">
<h3><g:message code="admin.dataquality.heading" default="Data Quality Filters"/></h3>
</div>
<div class="btn-group">
<g:link class="btn btn-default" url="${grailsApplication.config.getProperty('dataquality.baseUrl')}">Filters</g:link>
<div class="panel-body">
<g:link url="${grailsApplication.config.getProperty('dataquality.baseUrl')}"><g:message code="admin.dataquality.link.text" default="Data Quality filters admin interface"/></g:link>
</div>
</alatag:ifDataQualityEnabled>

Expand Down

0 comments on commit 86b776a

Please sign in to comment.