geoblacklight 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03c5c0f3c8ea0fd560d61c83f6ac4ef72a01fd41
4
- data.tar.gz: f70eecf129433a06f95909b43fe3e305a28c7abc
3
+ metadata.gz: 020b5ada2aa08e281b036a6126bbdf3cc2940b22
4
+ data.tar.gz: 3694743c344c416fd43049e1aa453a0804b24354
5
5
  SHA512:
6
- metadata.gz: 456079db8a4fc890f902a56a688d74beba805919f39d31f52475644553ef7e69f7369697c5569c501bb4a25321dd59eff22054fea48522930ec2ed74019ca2ac
7
- data.tar.gz: 11a6fd6f2c0253f595b6ad2ac1a3dd2fa6b48472a869f22a0c46c57d2df5cb15389aeaef31100e91f47e24c86d422950c8d921918610c721cfe9c15cffadda3f
6
+ metadata.gz: e4f413989fbd53195d558ddd20ec85d2b85ff996d24d6de83d53cc3b8395d1b7522bd4465468867236e76c475700f155eb45aca3e887db737d09514588fe63aa
7
+ data.tar.gz: 07ea34953226120e091042324be7fde1ecec493639432bdaf329af6b7fcbf78b2bf072532dde38333e04e52c1c2aca1a5bff2a1abe701c19020ebfe95da0471e
@@ -3,25 +3,6 @@
3
3
  <%= render 'upper_metadata', locals: { document: document} %>
4
4
 
5
5
  <div class='row'>
6
- <div id='viewer-container' class="col-md-8">
7
- <%= content_tag :div, id: 'map', data: { map: 'item', protocol: document.viewer_protocol, url: document.viewer_endpoint, 'layer-id' => document[:layer_id_s], 'map-bbox' => document[:solr_bbox], 'catalog-path'=> catalog_index_path, available: document_available? } do %>
8
- <% end %>
9
- </div>
10
- <% if show_attribute_table? %>
11
- <div id='table-container' class='col-md-4'>
12
- <table id="attribute-table" class="table table-hover table-condensed table-responsive table-striped table-bordered">
13
- <thead>
14
- <tr>
15
- <th>Attribute</th>
16
- <th>Value</th>
17
- </tr>
18
- </thead>
19
- <tbody class='attribute-table-body'>
20
- <tr>
21
- <td class='default-text' colspan='2'><em>Click on map to inspect values</em></td>
22
- </tr>
23
- </tbody>
24
- </table>
25
- </div>
26
- <% end %>
6
+ <%= render 'show_default_viewer_container' %>
7
+ <%= render 'show_default_attribute_table' %>
27
8
  </div>
@@ -0,0 +1,17 @@
1
+ <% if show_attribute_table? %>
2
+ <div id='table-container' class='col-md-4'>
3
+ <table id="attribute-table" class="table table-hover table-condensed table-responsive table-striped table-bordered">
4
+ <thead>
5
+ <tr>
6
+ <th>Attribute</th>
7
+ <th>Value</th>
8
+ </tr>
9
+ </thead>
10
+ <tbody class='attribute-table-body'>
11
+ <tr>
12
+ <td class='default-text' colspan='2'><em>Click on map to inspect values</em></td>
13
+ </tr>
14
+ </tbody>
15
+ </table>
16
+ </div>
17
+ <% end %>
@@ -0,0 +1,5 @@
1
+ <% document ||= @document %>
2
+ <div id='viewer-container' class="col-md-8">
3
+ <%= content_tag :div, id: 'map', data: { map: 'item', protocol: document.viewer_protocol, url: document.viewer_endpoint, 'layer-id' => document[:layer_id_s], 'map-bbox' => document[:solr_bbox], 'catalog-path'=> catalog_index_path, available: document_available? } do %>
4
+ <% end %>
5
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Geoblacklight
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoblacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Graves
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-01-07 00:00:00.000000000 Z
14
+ date: 2015-01-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight
@@ -317,6 +317,8 @@ files:
317
317
  - app/views/catalog/_index_split_default.html.erb
318
318
  - app/views/catalog/_search_form_no_navbar.html.erb
319
319
  - app/views/catalog/_show_default.html.erb
320
+ - app/views/catalog/_show_default_attribute_table.html.erb
321
+ - app/views/catalog/_show_default_viewer_container.html.erb
320
322
  - app/views/catalog/_show_header_default.html.erb
321
323
  - app/views/catalog/_show_tools.html.erb
322
324
  - app/views/catalog/_upper_metadata.html.erb