Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
facem-backoffice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACEM
facem-backoffice
Commits
9a7d6fdc
Verified
Commit
9a7d6fdc
authored
3 weeks ago
by
David Gunnarsson
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/avo/resources/gazetteer.rb
+7
-0
7 additions, 0 deletions
app/avo/resources/gazetteer.rb
app/views/avo/descriptions/_gazetteer.html.erb
+47
-0
47 additions, 0 deletions
app/views/avo/descriptions/_gazetteer.html.erb
with
54 additions
and
0 deletions
app/avo/resources/gazetteer.rb
+
7
−
0
View file @
9a7d6fdc
...
...
@@ -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 = {
...
...
This diff is collapsed.
Click to expand it.
app/views/avo/descriptions/_gazetteer.html.erb
0 → 100644
+
47
−
0
View file @
9a7d6fdc
<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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment