-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Allow editing profile informations
- Loading branch information
1 parent
b60376f
commit fd0c8cc
Showing
7 changed files
with
334 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
Resources/Private/Partials/ProfileEdit/ProfileInformation/Cooperation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<html data-namespace-typo3-fluid="true" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h2>Cooperation</h2> | ||
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'cooperation'}" class="btn btn-primary">Add new entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:for each="{profile.cooperation}" as="entry" iteration="entryIterator"> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="cooperation-{entryIterator.index}-year" class="form-label">Year</label> | ||
<f:form.textfield | ||
type="number" | ||
property="cooperation.{entryIterator.index}.year" | ||
id="cooperation-{entryIterator.index}-year" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="cooperation-{entryIterator.index}-title" class="form-label">Title</label> | ||
<f:form.textfield | ||
property="cooperation.{entryIterator.index}.title" | ||
id="cooperation-{entryIterator.index}-title" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="cooperation-{entryIterator.index}-bodytext" class="form-label">Text</label> | ||
<f:form.textarea | ||
property="cooperation.{entryIterator.index}.bodytext" | ||
id="cooperation-{entryIterator.index}-bodytext" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="cooperation-{entryIterator.index}-link" class="form-label">Link</label> | ||
<f:form.textfield | ||
property="cooperation.{entryIterator.index}.link" | ||
id="cooperation-{entryIterator.index}-link" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<f:link.action action="removeProfileInformation" arguments="{profile: profile, profileInformation: entry}" class="btn btn-danger">Remove entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:if condition="!{entryIterator.isLast}"> | ||
<hr class="mb-3" /> | ||
</f:if> | ||
</f:for> | ||
|
||
</html> |
53 changes: 53 additions & 0 deletions
53
Resources/Private/Partials/ProfileEdit/ProfileInformation/CurriculumVitae.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<html data-namespace-typo3-fluid="true" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h2>Vita</h2> | ||
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'curriculum_vitae'}" class="btn btn-primary">Add new entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:for each="{profile.vita}" as="entry" iteration="entryIterator"> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="curriculum-vitae-{entryIterator.index}-year" class="form-label">Year</label> | ||
<f:form.textfield | ||
type="number" | ||
property="vita.{entryIterator.index}.year" | ||
id="curriculum-vitae-{entryIterator.index}-year" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="curriculum-vitae-{entryIterator.index}-title" class="form-label">Title</label> | ||
<f:form.textfield | ||
property="vita.{entryIterator.index}.title" | ||
id="curriculum-vitae-{entryIterator.index}-title" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="curriculum-vitae-{entryIterator.index}-bodytext" class="form-label">Text</label> | ||
<f:form.textarea | ||
property="vita.{entryIterator.index}.bodytext" | ||
id="curriculum-vitae-{entryIterator.index}-bodytext" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<f:link.action action="removeProfileInformation" arguments="{profile: profile, profileInformation: entry}" class="btn btn-danger">Remove entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:if condition="!{entryIterator.isLast}"> | ||
<hr class="mb-3" /> | ||
</f:if> | ||
</f:for> | ||
|
||
</html> |
63 changes: 63 additions & 0 deletions
63
Resources/Private/Partials/ProfileEdit/ProfileInformation/Lecture.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<html data-namespace-typo3-fluid="true" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h2>Lectures</h2> | ||
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'lecture'}" class="btn btn-primary">Add new entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:for each="{profile.lectures}" as="entry" iteration="entryIterator"> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="lecture-{entryIterator.index}-year" class="form-label">Year</label> | ||
<f:form.textfield | ||
type="number" | ||
property="lectures.{entryIterator.index}.year" | ||
id="lecture-{entryIterator.index}-year" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="lecture-{entryIterator.index}-title" class="form-label">Title</label> | ||
<f:form.textfield | ||
property="lectures.{entryIterator.index}.title" | ||
id="lecture-{entryIterator.index}-title" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="lecture-{entryIterator.index}-bodytext" class="form-label">Text</label> | ||
<f:form.textarea | ||
property="lectures.{entryIterator.index}.bodytext" | ||
id="lecture-{entryIterator.index}-bodytext" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="lecture-{entryIterator.index}-link" class="form-label">Link</label> | ||
<f:form.textfield | ||
property="lectures.{entryIterator.index}.link" | ||
id="lecture-{entryIterator.index}-link" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<f:link.action action="removeProfileInformation" arguments="{profile: profile, profileInformation: entry}" class="btn btn-danger">Remove entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:if condition="!{entryIterator.isLast}"> | ||
<hr class="mb-3" /> | ||
</f:if> | ||
</f:for> | ||
|
||
</html> |
63 changes: 63 additions & 0 deletions
63
Resources/Private/Partials/ProfileEdit/ProfileInformation/Membership.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<html data-namespace-typo3-fluid="true" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h2>Memberships</h2> | ||
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'membership'}" class="btn btn-primary">Add new entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:for each="{profile.memberships}" as="entry" iteration="entryIterator"> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="memberships-{entryIterator.index}-year" class="form-label">Year</label> | ||
<f:form.textfield | ||
type="number" | ||
property="memberships.{entryIterator.index}.year" | ||
id="memberships-{entryIterator.index}-year" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="memberships-{entryIterator.index}-title" class="form-label">Title</label> | ||
<f:form.textfield | ||
property="memberships.{entryIterator.index}.title" | ||
id="memberships-{entryIterator.index}-title" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="memberships-{entryIterator.index}-bodytext" class="form-label">Text</label> | ||
<f:form.textarea | ||
property="memberships.{entryIterator.index}.bodytext" | ||
id="memberships-{entryIterator.index}-bodytext" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="memberships-{entryIterator.index}-link" class="form-label">Link</label> | ||
<f:form.textfield | ||
property="memberships.{entryIterator.index}.link" | ||
id="memberships-{entryIterator.index}-link" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<f:link.action action="removeProfileInformation" arguments="{profile: profile, profileInformation: entry}" class="btn btn-danger">Remove entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:if condition="!{entryIterator.isLast}"> | ||
<hr class="mb-3" /> | ||
</f:if> | ||
</f:for> | ||
|
||
</html> |
69 changes: 69 additions & 0 deletions
69
Resources/Private/Partials/ProfileEdit/ProfileInformation/Publication.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<html data-namespace-typo3-fluid="true" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h2>Publications</h2> | ||
<label for="profile-publications-link" class="form-label">Link to external publications</label> | ||
<f:form.textfield | ||
property="publicationsLink" | ||
id="profile-publications-link" | ||
class="form-control mb-1" | ||
/> | ||
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'publication'}" class="btn btn-primary">Add new entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:for each="{profile.publications}" as="entry" iteration="entryIterator"> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="publication-{entryIterator.index}-year" class="form-label">Year</label> | ||
<f:form.textfield | ||
type="number" | ||
property="publications.{entryIterator.index}.year" | ||
id="publication-{entryIterator.index}-year" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="publication-{entryIterator.index}-title" class="form-label">Title</label> | ||
<f:form.textfield | ||
property="publications.{entryIterator.index}.title" | ||
id="publication-{entryIterator.index}-title" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="publication-{entryIterator.index}-bodytext" class="form-label">Text</label> | ||
<f:form.textarea | ||
property="publications.{entryIterator.index}.bodytext" | ||
id="publication-{entryIterator.index}-bodytext" | ||
class="form-control publication-bodytext" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<label for="publication-{entryIterator.index}-link" class="form-label">Link</label> | ||
<f:form.textfield | ||
property="publications.{entryIterator.index}.link" | ||
id="publication-{entryIterator.index}-link" | ||
class="form-control" | ||
/> | ||
</div> | ||
</div> | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<f:link.action action="removeProfileInformation" arguments="{profile: profile, profileInformation: entry}" class="btn btn-danger">Remove entry</f:link.action> | ||
</div> | ||
</div> | ||
<f:if condition="!{entryIterator.isLast}"> | ||
<hr class="mb-3" /> | ||
</f:if> | ||
</f:for> | ||
|
||
</html> |
Oops, something went wrong.