File tree Expand file tree Collapse file tree 7 files changed +32
-17
lines changed
Expand file tree Collapse file tree 7 files changed +32
-17
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,6 @@ registry.bootSpec = /opt/ldregistry/config/root-register.ttl|{webapp}/WEB-INF
7272registry.systemBoot = /opt/ldregistry/boot
7373registry.facetService = $facetService
7474registry.backupDir = /var/opt/ldregistry/backup
75- registry.redirectToHttpsOnLogin = false
75+ registry.redirectToHttpsOnLogin = true
7676registry.configExtensions = $config
7777registry.requestLogger = $requestLogger
Original file line number Diff line number Diff line change 4040 <table class="table table-striped table-bordered #if($registry.configExtensions.showRegisterAsDatatable) datatable #end">
4141 <thead>
4242 <tr>
43- <th>$msg['registerItem.name.label']</th>
4443 <th>$msg['registerItem.notation.label']</th>
44+ <th>$msg['registerItem.name.label']</th>
4545 <th>$msg['registerItem.description.label']</th>
4646## <th>$msg['registerItem.types.label']</th>
4747 <th>$msg['registerItem.status.label']</th>
5454 $entity.modelW.setLanguage($language)
5555
5656 <tr>
57+ <td>$item.getPropertyValue("reg:notation").lexicalForm</td>
5758 <td>
5859 #if($entity.hasResourceValue("rdf:type", "reg:Register"))<span class="glyphicon glyphicon-folder-open"></span> #end
5960 <a href="#linkhref($item)" title="$item.uRI">$entity.name</a>
6061 </td>
61- <td>$item.getPropertyValue("reg:notation").lexicalForm</td>
6262 <td>#tdescription($entity,"",70)</td>
6363## <td> #foreach($ty in $entity.listPropertyValues("rdf:type"))#linkfor($ty)#if( $foreach.hasNext ), #end#end </td>
6464 <td>#showstatus($item.getPropertyValue("reg:status"))</td>
Original file line number Diff line number Diff line change 99 <table class="table table-striped table-bordered #if($registry.configExtensions.showRegisterAsDatatable) datatable #end">
1010 <thead>
1111 <tr>
12+ <th>$msg['registerItem.notation.label']</th>
1213 <th>$msg['registerItem.name.label']</th>
13- <th>$msg['registerItem.notation.label']</th>
1414 <th>$msg['registerItem.description.label']</th>
15- <th>$msg['registerItem.types.label']</th>
15+ ## <th>$msg['registerItem.types.label']</th>
1616 <th>$msg['registerItem.status.label']</th>
1717 </tr>
1818 </thead>
2424 #if( !$memitem.hasResourceValue("reg:status", "reg:statusReserved") )
2525 <tr>
2626 ## When might we not have an $memitem?
27+ <td>$memitem.getPropertyValue("reg:notation").lexicalForm</td>
2728 <td>
2829 #if($member.hasResourceValue("rdf:type", "reg:Register"))<span class="glyphicon glyphicon-folder-open"></span> #end
2930 <a href="#linkhref($memitem)" title="$memitem.uRI">$member.name</a>
3031 </td>
31- <td>$memitem.getPropertyValue("reg:notation").lexicalForm</td>
32- <td>#tdescription($member,"",70)</td>
33- <td>
34- #foreach($ty in $member.listPropertyValues("rdf:type"))#linkfor($ty)#if( $foreach.hasNext ), #end#end
35- </td>
32+ <td>#tdescription($member,"",70)</td>
33+ ## <td>
34+ ## #foreach($ty in $member.listPropertyValues("rdf:type"))#linkfor($ty)#if( $foreach.hasNext ), #end#end
35+ ## </td>
3636 <td>#showstatus($memitem.getPropertyValue("reg:status"))</td>
3737 </tr>
3838 #end
Original file line number Diff line number Diff line change 6666 </div>
6767 </div>
6868 </div>
69+
6970</nav>
7071
7172#if($subject.isAuthenticated())
7273 #parse( "actions/_logout-dialog.vm" )
7374#end
74-
Original file line number Diff line number Diff line change 77 ## </span>
88 ## $msg.get('service.beta.description', 'TBD')
99 ## </div>
10+ #if(!$request.getServerName().equals("codes.wmo.int"))
11+ <div class="row">
12+ <div class="non-operational-banner">This is a test website – some features and links may not work, and data may be incorrect.</div>
13+ </div>
14+ #end
Original file line number Diff line number Diff line change 11#macro(resultrow $entity $item)
22 <tr>
3+ <td>$item.getPropertyValue("reg:notation").lexicalForm</td>
34 <td>
45 #if($entity.hasResourceValue("rdf:type", "reg:Register"))<span class="glyphicon glyphicon-folder-open"></span> #end
56 <a href="#linkhref($item)" title="$item.uRI">$entity.name</a>
67 </td>
7- <td>$item.getPropertyValue("reg:notation").lexicalForm</td>
88 <td>#tdescription($entity,"",70)</td>
9- <td>
10- #foreach($ty in $entity.listPropertyValues("rdf:type"))#linkfor($ty)#if( $foreach.hasNext ), #end#end
11- </td>
9+ ## <td>
10+ ## #foreach($ty in $entity.listPropertyValues("rdf:type"))#linkfor($ty)#if( $foreach.hasNext ), #end#end
11+ ## </td>
1212 <td>#showstatus($item.getPropertyValue("reg:status"))</td>
1313 </tr>
1414#end
3838 <table class="table table-striped table-bordered">
3939 <thead>
4040 <tr>
41- <th>$msg['registerItem.name.label']</th>
4241 <th>$msg['registerItem.notation.label']</th>
42+ <th>$msg['registerItem.name.label']</th>
4343 <th>$msg['registerItem.description.label']</th>
44- <th>$msg['registerItem.types.label']</th>
44+ ## <th>$msg['registerItem.types.label']</th>
4545 <th>$msg['registerItem.status.label']</th>
4646 </tr>
4747 </thead>
Original file line number Diff line number Diff line change @@ -199,4 +199,14 @@ td.align-right {
199199 margin-left : 10px ;
200200 margin-bottom : 3px ;
201201 font-size : 15.4px ;
202+ }
203+
204+ .non-operational-banner {
205+ background-color : # ff7e00 ;
206+ font-family : Arial, Helvetica, sans-serif;
207+ font-size : 16px ;
208+ margin-bottom : 10px ;
209+ padding : 10px ;
210+ text-align : center;
211+ width : 100% ;
202212}
You can’t perform that action at this time.
0 commit comments