Skip to content
Snippets Groups Projects
Verified Commit 9a7d6fdc authored by David Gunnarsson's avatar David Gunnarsson
Browse files

Add gazetteer description

guideline to show locations on the map
parent aeecd99b
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,13 @@ class Avo::Resources::Gazetteer < Avo::BaseResource
query.order(name: :asc)
}
def description
ApplicationController.render(
template: "avo/descriptions/_gazetteer",
layout: false
).html_safe
end
# self.includes = []
# self.attachments = []
# self.search = {
......
<div class="flex gap-4">
<div class="mb-4">
<h6 class="font-bold mb-2">For a <i>production site</i> to appear on <a href="<%= facem_home_url %>/map?type=production" target="_blank">the map</a>:</h6>
<ul class="list-disc ml-4">
<li class="mb-2">
1. Create a new location with at least:
<ul class="list-disc ml-4">
<li>- a name</li>
<li>- latitude + longitude OR an ellipse</li>
</ul>
</li>
<li class="mb-2">
2. Create a fabric code with:
<ul class="list-disc ml-4">
<li>- your new location as the production site</li>
<li>- a ware type</li>
<li>- a serial number</li>
</ul>
</li>
<li class="mb-2">
3. Add at least one sample with:
<ul class="list-disc ml-4">
<li>- its fabric code set to the new fabric code</li>
</ul>
</li>
</ul>
</div>
<div class="mb-4">
<h6 class="font-bold mb-2">For a <i>discovery site</i> to appear on <a href="<%= facem_home_url %>/map?type=discovery" target="_blank">the map</a>:</h6>
<ul class="list-disc ml-4">
<li class="mb-2">
1. Create a new location with at least:
<ul class="list-disc ml-4">
<li>- a name</li>
<li>- latitude + longitude</li>
</ul>
</li>
<li class="mb-2">
2. Add at least one sample with:
<ul class="list-disc ml-4">
<li>- its discovery site set to the new location</li>
</ul>
</li>
</ul>
</div>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment