publish_my_data 1.3.16 → 1.3.17

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.
@@ -87,6 +87,7 @@ thead, th {
87
87
  td, th {
88
88
  padding: 12px $pmdconfig_space_vertical/2;
89
89
  text-align: left;
90
+ vertical-align: top;
90
91
  }
91
92
 
92
93
  tbody th {
@@ -149,6 +149,17 @@ th.centred {
149
149
  margin-right: 10px;
150
150
  }
151
151
 
152
+ // on dataset_sample_data stripe
153
+ .resource_links_list {
154
+ list-style: none;
155
+ margin: 0;
156
+ padding: 0;
157
+ }
158
+
159
+ .resource_links_list li{
160
+ margin-top: 4px;
161
+ }
162
+
152
163
  /* 4100 - EXPERIMENTAL huge monitor support (most useful for SPARQL tool)
153
164
  ========================================================================== */
154
165
 
@@ -110,7 +110,7 @@ code.scrolling{
110
110
  /* 5100 - DOCUMENTATION
111
111
  ========================================================================== */
112
112
 
113
- .pmd.documentation{
113
+ .documentation{
114
114
 
115
115
  header ul{
116
116
  list-style-type: none;
@@ -1,10 +1,10 @@
1
1
  = inside_layout 'application' do
2
2
 
3
- %main.pmd.documentation
3
+ %main.pmd
4
4
  = render 'publish_my_data/stripes/subnav'
5
5
  = render 'publish_my_data/stripes/status'
6
6
 
7
- %article
7
+ %article.documentation
8
8
  %header
9
9
  =fullwidth do
10
10
  = yield :docs_intro
@@ -12,7 +12,7 @@
12
12
  %tr
13
13
  %td(colspan="2")
14
14
  =label resource.read_predicate(RDF.type).many? ? 'Types' : 'Type'
15
- %h3= resource.read_predicate(RDF.type).map { |t| resource_uri_or_label(resource, t) }.join(", ").html_safe
15
+ %h4{style:"line-height:1.2em;"}= resource.read_predicate(RDF.type).map { |t| resource_uri_or_label(resource, t) }.join("<br>").html_safe
16
16
  %h5
17
17
  Subject:
18
18
  = link_to (resource.label || resource.uri), resource_path_from_uri(resource.uri)
@@ -36,12 +36,13 @@
36
36
  = link_to show_resource_path(uri: resource.uri, format: 'ttl'), target: 'blank' do
37
37
  Raw data for this resource (.ttl)
38
38
  %i.icon-popup
39
- - types_for_example_resource(dataset, resource).each do |type|
40
- View
41
- = link_to list_resources_path(dataset: dataset, type_uri: type) do
42
- all
43
- = dataset.type_count(type.uri)
44
- resources of type
45
- %strong
46
- = type.label.nil? ? type.uri : type.label
47
- %br
39
+ %ul.resource_links_list
40
+ - types_for_example_resource(dataset, resource).each do |type|
41
+ %li
42
+ View
43
+ = link_to list_resources_path(dataset: dataset, type_uri: type) do
44
+ all
45
+ = dataset.type_count(type.uri)
46
+ resources of type
47
+ %strong
48
+ = type.label.nil? ? type.uri : type.label
@@ -1,3 +1,3 @@
1
1
  module PublishMyData
2
- VERSION = "1.3.16"
2
+ VERSION = "1.3.17"
3
3
  end