|
|
|
@ -9,16 +9,7 @@
|
|
|
|
|
{% include '@vre2024/template-parts/highlighted.html.twig' %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{# my dubugger #} |
|
|
|
|
|
|
|
|
|
{# |
|
|
|
|
<details> |
|
|
|
|
<summary>Rob's var dump</summary> |
|
|
|
|
{{ dump(_context) }} |
|
|
|
|
</details> |
|
|
|
|
#} |
|
|
|
|
{# /my dubugger #} |
|
|
|
|
|
|
|
|
|
{% set scholar_tid = 7737 %} |
|
|
|
|
<div class="main-wrapper"> |
|
|
|
|
<div class="container"> |
|
|
|
|
<a id="main-content" tabindex="-1"></a> |
|
|
|
@ -29,7 +20,8 @@
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="tabs"> |
|
|
|
|
<h2>Manage Your Scholar Profile</h2> |
|
|
|
|
<div id="tabs" class="profile_management"> |
|
|
|
|
<ul> |
|
|
|
|
<li><a href="#preview"><i class="far fa-eye"></i>Preview</a></li> |
|
|
|
|
<li><a href="#publications"><i class="fas fa-list"></i>Your Publications</a></li> |
|
|
|
@ -39,6 +31,10 @@
|
|
|
|
|
</ul> |
|
|
|
|
<div id="preview"> |
|
|
|
|
Need to put the existing profile here, I need access to a variable (ID?) that I can use to grab the correct profile page for insertion |
|
|
|
|
{{ drupal_entity('taxonomy_term', scholar_tid) }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
@ -46,12 +42,16 @@
|
|
|
|
|
Need to find a 'my publications' views block to put here |
|
|
|
|
</div> |
|
|
|
|
<div id="tabs-1"> |
|
|
|
|
<h3>Add Scholarly Works To Your Profile:</h3> |
|
|
|
|
{{ drupal_entity('webform', 'add_scholarly_works') }} |
|
|
|
|
</div> |
|
|
|
|
<div id="tabs-2"> |
|
|
|
|
<h3>Deposit Full Text:</h3> |
|
|
|
|
{{ drupal_entity('webform', 'deposit_full_text') }} |
|
|
|
|
</div> |
|
|
|
|
<div id="tabs-3"> |
|
|
|
|
<h3>Request Changes to Your Profile:</h3> |
|
|
|
|
|
|
|
|
|
{{ drupal_entity('webform', 'edit_scholar_profile') }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|