Skip to content

Commit 68b1904

Browse files
authored
Merge pull request #1164 from AtlasOfLivingAustralia/hotfix
Fixed the following - stack table rows, fav icon etc.
2 parents 6428f71 + d23a6c3 commit 68b1904

File tree

6 files changed

+17
-7
lines changed

6 files changed

+17
-7
lines changed

application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#Sat Nov 03 13:30:44 AEDT 2018
33
app.grails.version=2.5.6
44
app.name=biocollect
5-
app.version=4.8.5
5+
app.version=4.8.6-SNAPSHOT

grails-app/assets/vendor/responsive-table-stacked/stacked.css

+10
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@
1010
left: -9999px;
1111
}
1212

13+
table.responsive-table-stacked tbody tr td:nth-child(1) {
14+
border-top-width: 5px;
15+
}
16+
1317
table.responsive-table-stacked tbody td {
1418
position: relative;
1519
width: auto !important;
20+
text-align: left !important;
1621
}
1722

1823
table.responsive-table-stacked tbody td:before {
@@ -42,9 +47,14 @@
4247
left: -9999px;
4348
}
4449

50+
table.responsive-table-stacked tbody tr td:nth-child(1) {
51+
border-top-width: 5px;
52+
}
53+
4554
table.responsive-table-stacked tbody td {
4655
position: relative;
4756
width: auto !important;
57+
text-align: left !important;
4858
}
4959

5060
table.responsive-table-stacked tbody td:before {

grails-app/conf/Config.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ merit.baseURL="https://fieldcapture-test.ala.org.au"
111111

112112
app.view.nocache = false
113113

114+
// rel icon config
115+
skin.favicon="https://www.ala.org.au/app/uploads/2019/01/cropped-favicon-32x32.png"
116+
114117
// Markdown configuration to match behaviour of the JavaScript editor.
115118
markdown.hardwraps = true
116119

grails-app/views/layouts/ala.gsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="description" content="Atlas of Living Australia Field Capture"/>
1010
<meta name="author" content="Atlas of Living Australia">
1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
12-
<link href="https://www.ala.org.au/wp-content/themes/ala2011/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
12+
<link href="${grailsApplication.config.skin.favicon}" rel="icon"/>
1313

1414
<title><g:layoutTitle /></title>
1515
<link rel="stylesheet" href="${grailsApplication.config.headerAndFooter.baseURL}/css/bootstrap.min.css"/>

grails-app/views/layouts/ala2.gsp

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
<meta name="author" content="Atlas of Living Australia">
1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212
<title><g:layoutTitle/></title>
13-
<link href="https://www.ala.org.au/wp-content/themes/ala2011/images/favicon.ico" rel="shortcut icon"
14-
type="image/x-icon"/>
15-
13+
<link href="${grailsApplication.config.skin.favicon}" rel="icon"/>
1614
<link rel="stylesheet" href="${grailsApplication.config.headerAndFooter.baseURL}/css/bootstrap.min.css"/>
1715
<link rel="stylesheet" href="${grailsApplication.config.headerAndFooter.baseURL}/css/bootstrap-responsive.min.css"/>
1816
<link rel="stylesheet" href="${grailsApplication.config.headerAndFooter.baseURL}/css/ala-styles.css"/>

grails-app/views/layouts/configurableHubTemplate1.gsp

+1-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
<g:layoutHead/>
8888
<link rel="stylesheet" type="text/css"
8989
href="${createLink(controller: 'hub', action: 'getStyleSheet')}?hub=${hubConfig.urlPath}&ver=${hubConfig.lastUpdated}">
90-
<link href="https://www.ala.org.au/wp-content/themes/ala2011/images/favicon.ico" rel="shortcut icon"
91-
type="image/x-icon"/>
90+
<link href="${grailsApplication.config.skin.favicon}" rel="icon"/>
9291
</head>
9392

9493
<body class="${pageProperty(name: 'body.class') ?: 'nav-collections'}" id="${pageProperty(name: 'body.id')}"

0 commit comments

Comments
 (0)