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
0ac14711
Verified
Commit
0ac14711
authored
3 weeks ago
by
David Gunnarsson
Browse files
Options
Downloads
Patches
Plain Diff
Reference the ellipse drawer for ease of use
parent
df8b4c5c
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
+3
-1
3 additions, 1 deletion
app/avo/resources/gazetteer.rb
app/views/avo/descriptions/_gazetteer.html.erb
+1
-1
1 addition, 1 deletion
app/views/avo/descriptions/_gazetteer.html.erb
with
4 additions
and
2 deletions
app/avo/resources/gazetteer.rb
+
3
−
1
View file @
0ac14711
...
@@ -28,7 +28,9 @@ class Avo::Resources::Gazetteer < Avo::BaseResource
...
@@ -28,7 +28,9 @@ class Avo::Resources::Gazetteer < Avo::BaseResource
field
:tgn
,
as: :number
field
:tgn
,
as: :number
field
:lat
,
as: :number
field
:lat
,
as: :number
field
:long
,
as: :number
field
:long
,
as: :number
field
:ellipse
,
as: :text
field
:ellipse
,
as: :text
,
help:
->
{
"Use the "
+
link_to
(
"ellipse drawer"
,
main_app
.
ellipse_drawer_url
,
target:
"_blank"
)
+
" to easily create ellipse values"
}
field
:icon
,
as: :text
field
:icon
,
as: :text
field
:pdf_filename
,
as: :text
field
:pdf_filename
,
as: :text
field
:pdf_excerpt
,
as: :short_text
field
:pdf_excerpt
,
as: :short_text
...
...
This diff is collapsed.
Click to expand it.
app/views/avo/descriptions/_gazetteer.html.erb
+
1
−
1
View file @
0ac14711
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
1. Create a new location with at least:
1. Create a new location with at least:
<ul
class=
"list-disc ml-4"
>
<ul
class=
"list-disc ml-4"
>
<li>
- a name
</li>
<li>
- a name
</li>
<li>
- latitude + longitude OR an ellipse
</li>
<li>
- latitude + longitude OR an ellipse
(
<a
href=
"
<%=
ellipse_drawer_url
%>
"
target=
"_blank"
>
ellipse drawer
</a>
)
</li>
</ul>
</ul>
</li>
</li>
<li
class=
"mb-2"
>
<li
class=
"mb-2"
>
...
...
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