Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSLogic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSLogic
Commits
f0210dec
Commit
f0210dec
authored
5 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix: Allowing observers to add POI
parent
560bc804
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!17
Develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/no/nibio/vips/logic/controller/servlet/PointOfInterestController.java
+1
-2
1 addition, 2 deletions
...s/logic/controller/servlet/PointOfInterestController.java
src/main/webapp/templates/poiForm.ftl
+2
-0
2 additions, 0 deletions
src/main/webapp/templates/poiForm.ftl
with
3 additions
and
2 deletions
src/main/java/no/nibio/vips/logic/controller/servlet/PointOfInterestController.java
+
1
−
2
View file @
f0210dec
...
...
@@ -57,12 +57,11 @@ import no.nibio.web.forms.FormField;
import
no.nibio.web.forms.FormValidation
;
import
no.nibio.web.forms.FormValidationException
;
import
no.nibio.web.forms.FormValidator
;
import
org.apache.http.NameValuePair
;
import
org.apache.http.client.utils.URIBuilder
;
/**
* Handles transactions for POIs
* @copyright 2013-201
5
<a href="http://www.nibio.no/">NIBIO</a>
* @copyright 2013-201
9
<a href="http://www.nibio.no/">NIBIO</a>
* @author Tor-Einar Skog <tor-einar.skog@nibio.no>
*/
public
class
PointOfInterestController
extends
HttpServlet
{
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/templates/poiForm.ftl
+
2
−
0
View file @
f0210dec
...
...
@@ -188,6 +188,8 @@
</select>
<span class="help-block" id="$
{
formId
}
_userId_validation"></span>
</div>
<#else>
<input type="hidden" name="userId" value="$
{
user
.userId
}
"/>
</#if>
<button type="submit" class="btn btn-default">$
{
i18nBundle
.submit
}
</button>
<#if poi.pointOfInterestId?has_content>
...
...
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