rdrew
7 days ago
4 changed files with 103 additions and 8 deletions
@ -0,0 +1,72 @@ |
|||||||
|
{% if page.header_top_left or page.header_top_right %} |
||||||
|
{% include '@vre2024/template-parts/header/header-top.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
{% include '@vre2024/template-parts/header/header.html.twig' %} |
||||||
|
{% if not is_front and page.page_header %} |
||||||
|
{% include '@vre2024/template-parts/header/header-page.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
{% if page.highlighted %} |
||||||
|
{% include '@vre2024/template-parts/highlighted.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
|
||||||
|
{# {{ dump(_context) }} #} |
||||||
|
|
||||||
|
{% set scholar_name = page['#title'] %} |
||||||
|
<div class="main-wrapper"> |
||||||
|
<div class="container"> |
||||||
|
<a id="main-content" tabindex="-1"></a> |
||||||
|
<div class="main-container"> |
||||||
|
<main id="main" class="main-content"> |
||||||
|
{% if page.content_top %} |
||||||
|
{% include '@vre2024/template-parts/content-parts/content_top.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
|
||||||
|
<h2>Manage Your Scholar Profile</h2> |
||||||
|
<div id="tabs" class="profile_management"> |
||||||
|
<ul> |
||||||
|
<li><a href="#tab_1"><i class="far fa-eye"></i>Preview</a></li> |
||||||
|
<li><a href="#tab_2"><i class="fas fa-list"></i>Your Publications</a></li> |
||||||
|
<li><a href="#tab_3"><i class="fas fa-edit"></i>Edit Your Profile</a></li> |
||||||
|
<li><a href="#tab_4"><i class="fas fa-plus"></i>Add Scholarly Works</a></li> |
||||||
|
<li><a href="#tab_5"><i class="fas fa-plus"></i>Deposit Full Text</a></li> |
||||||
|
</ul> |
||||||
|
|
||||||
|
<div id="tab_1"> |
||||||
|
{{ drupal_view('profile_preview_block', 'block_1', scholar_name) }} |
||||||
|
</div> |
||||||
|
<div id="tab_2"> |
||||||
|
<h3>Your Publications:</h3> |
||||||
|
{{ drupal_view('my_publications', 'block_1') }} |
||||||
|
</div> |
||||||
|
<div id="tab_3"> |
||||||
|
<h3>Request Changes to Your Profile:</h3> |
||||||
|
{{ drupal_entity('webform', 'edit_scholar_profile') }} |
||||||
|
</div> |
||||||
|
<div id="tab_4"> |
||||||
|
<h3>Add Scholarly Works To Your Profile:</h3> |
||||||
|
{{ drupal_entity('webform', 'add_scholarly_works') }} |
||||||
|
</div> |
||||||
|
<div id="tab_5"> |
||||||
|
<h3>Deposit Full Text:</h3> |
||||||
|
{{ drupal_entity('webform', 'deposit_full_text') }} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{{ page.content }} |
||||||
|
</div> |
||||||
|
|
||||||
|
{% if page.content_bottom %} |
||||||
|
{% include '@vre2024/template-parts/content-parts/content_bottom.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
</main> |
||||||
|
{% if page.sidebar_first %} |
||||||
|
{% include '@vre2024/template-parts/sidebar/sidebar_left.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
{% if page.sidebar_second %} |
||||||
|
{% include '@vre2024/template-parts/sidebar/sidebar_right.html.twig' %} |
||||||
|
{% endif %} |
||||||
|
</div><!--/main-container --> |
||||||
|
</div><!--/container --> |
||||||
|
</div><!--/main-wrapper --> |
||||||
|
{% include '@vre2024/template-parts/footer/footer.html.twig' %} |
Loading…
Reference in new issue