Skip to content

Commit

Permalink
[TASK] Add new title output in frontend for existing link fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk Kudlik committed Jan 22, 2024
1 parent b5e6577 commit 3413c69
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Resources/Private/Partials/ProfileEdit/ProfileData.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
<f:render partial="ProfileEdit/ProfileInformation/Publication" arguments="{_all}" />
<f:render partial="ProfileEdit/ProfileInformation/Lecture" arguments="{_all}" />

<div class="row mb-3">
<div class="col-12">
<label for="profile-website-title" class="form-label">Website Link Title</label>
<f:form.textfield
property="websiteTitle"
id="profile-website-title"
class="form-control"
/>
</div>
</div>

<div class="row mb-3">
<div class="col-12">
<label for="profile-website" class="form-label">Website</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
<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>
<f:link.action action="addProfileInformation" arguments="{profile: profile, type: 'publication'}" class="btn btn-primary">Add new entry</f:link.action>
</div>
</div>
<div class="row mb-3">
<div class="col-12">
<label for="profile-publications-link-title" class="form-label">Publication Link Title</label>
<f:form.textfield
property="publicationsLinkTitle"
id="profile-publications-link-title"
class="form-control mb-1"
/>
</div>
</div>

<div class="row mb-3">
<div class="col-12">
<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">
Expand Down

0 comments on commit 3413c69

Please sign in to comment.