@if(isset(\Auth::user()->id) && in_array(\Auth::user()->role, ['General', 'PI']))
@php $postId = (isset($post->id) && !empty($post->id)) ? '/' . $post->id : ''; @endphp
@if((Request::segment(1) != 'posts'))
Post Creation
-
@if(isset($post->id) && isset($postSideBar['typeSelector']) && $postSideBar['typeSelector'] == 1)
@elseif(isset($post->id) && isset($postSideBar['typeSelector']) && $postSideBar['typeSelector'] == 2)
@endif
Post Type
@if(in_array(Request::segment(2), ['title-author', 'human-sample', 'cell-culture', 'cell-culture-title-author', 'multicellular', 'multicellular-title-author', 'field-study', 'field-study-title-author', 'reaction', 'reaction-title-author', 'origin-selector', 'origin-samples-selector', 'study-design', 'method', 'result', 'setting', 'complete', 'vectors']))
-
@php
$originUrl = "javascript:void(0);";
if (isset($post->id)) {
$originUrl = getMURL('post/origin-selector' . $postId);
} elseif (isset($postTopbarTitleType)) {
if ($postTopbarTitleType == "Data") {
$originUrl = getMURL('post/origin-selector');
} else {
$originUrl = getMURL('post/origin-samples-selector');
}
}
@endphp
@if(isset($post->id) && isset($postSideBar['originSelector']) && $postSideBar['originSelector'] == 1)
@elseif(isset($post->id) && isset($postSideBar['originSelector']) && $postSideBar['originSelector'] == 2)
@endif
Origin
-
@if(isset($post->id) && isset($postSideBar['titleAuthor']) && $postSideBar['titleAuthor'] == 1)
@elseif(isset($post->id) && isset($postSideBar['titleAuthor']) && $postSideBar['titleAuthor'] == 2)
@endif
Title and Authors
@if(isset($post->id) && $post->post_origin == "Cell")
-
@if(isset($post->id) && isset($postSideBar['cellCulture']) && $postSideBar['cellCulture'] == 1)
@elseif(isset($post->id) && isset($postSideBar['cellCulture']) && $postSideBar['cellCulture'] == 2)
@endif
Origin Information
@elseif(isset($post->id) && $post->post_origin == "Model")
-
@if(isset($post->id) && isset($postSideBar['multiCellular']) && $postSideBar['multiCellular'] == 1)
@elseif(isset($post->id) && isset($postSideBar['multiCellular']) && $postSideBar['multiCellular'] == 2)
@endif
Origin Information
@elseif(isset($post->id) && $post->post_origin == "Field")
-
@if(isset($post->id) && isset($postSideBar['fieldStudy']) && $postSideBar['fieldStudy'] == 1)
@elseif(isset($post->id) && isset($postSideBar['fieldStudy']) && $postSideBar['fieldStudy'] == 2)
@endif
Origin Information
@elseif(isset($post->id) && $post->post_origin == "Reaction")
-
@if(isset($post->id) && isset($postSideBar['reactionProcess']) && $postSideBar['reactionProcess'] == 1)
@elseif(isset($post->id) && isset($postSideBar['reactionProcess']) && $postSideBar['reactionProcess'] == 2)
@endif
Origin Information
@elseif(isset($post->id) && $post->post_origin == "Vectors")
-
@if(isset($post->id) && isset($postSideBar['vectorsPlasmids']) && $postSideBar['vectorsPlasmids'] == 1)
@elseif(isset($post->id) && isset($postSideBar['vectorsPlasmids']) && $postSideBar['vectorsPlasmids'] == 2)
@endif
Origin Information
@else
-
@if(isset($post->id) && isset($postSideBar['humanSample']) && $postSideBar['humanSample'] == 1)
@elseif(isset($post->id) && isset($postSideBar['humanSample']) && $postSideBar['humanSample'] == 2)
@endif
Origin Information
@endif
-
@if(isset($post->id) && isset($postSideBar['studyDesign']) && $postSideBar['studyDesign'] == 1)
@elseif(isset($post->id) && isset($postSideBar['studyDesign']) && $postSideBar['studyDesign'] == 2)
@endif
Study Design
-
@if(isset($post->id) && isset($postSideBar['postMethod']) && $postSideBar['postMethod'] == 1)
@elseif(isset($post->id) && isset($postSideBar['postMethod']) && $postSideBar['postMethod'] == 2)
@endif
Methods
-
@if(isset($post->id) && isset($postSideBar['postResult']) && $postSideBar['postResult'] == 1)
@elseif(isset($post->id) && isset($postSideBar['postResult']) && $postSideBar['postResult'] == 2)
@endif
Results
-
@if(isset($post->id) && isset($postSideBar['postSetting']) && $postSideBar['postSetting'] == 1)
@elseif(isset($post->id) && isset($postSideBar['postSetting']) && $postSideBar['postSetting'] == 2)
@endif
Post Settings
-
@if(isset($post->id) && isset($postSideBar['postComplete']) && $postSideBar['postComplete'] == 1)
@elseif(isset($post->id) && isset($postSideBar['postComplete']) && $postSideBar['postComplete'] == 2)
@endif
Post Complete
@endif
@endif
@else
@endif