2020-10-02 20:49:08 +08:00
|
|
|
<div class="recent-work-widget basic-widget <%= widget[:size] %>" style="order: <%= widget[:position] %>">
|
2020-03-06 20:51:18 +08:00
|
|
|
<div class="widget-header">
|
|
|
|
<div class="widget-title">
|
|
|
|
<%= t('dashboard.recent_work.title') %>
|
|
|
|
</div>
|
|
|
|
<div class="sci-secondary-navbar recent-work-navbar">
|
|
|
|
<span class="navbar-link active" data-mode="all"><%= t('dashboard.recent_work.modes.all') %></span>
|
|
|
|
<span class="navbar-link" data-mode="projects"><%= t('dashboard.recent_work.modes.projects') %></span>
|
|
|
|
<span class="navbar-link" data-mode="repositories"><%= t('dashboard.recent_work.modes.repositories') %></span>
|
|
|
|
<span class="navbar-link" data-mode="protocols"><%= t('dashboard.recent_work.modes.protocols') %></span>
|
|
|
|
<span class="navbar-link" data-mode="reports"><%= t('dashboard.recent_work.modes.reports') %></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="widget-body">
|
2023-10-20 16:05:42 +08:00
|
|
|
<div class="recent-work-container perfect-scrollbar" data-url="<%= dashboard_recent_works_path %>" data-e2e="e2e-CO-dashboard-recentWork"></div>
|
2020-03-06 20:51:18 +08:00
|
|
|
</div>
|
2020-02-13 20:55:25 +08:00
|
|
|
</div>
|
2020-03-11 18:34:59 +08:00
|
|
|
|
|
|
|
<template id="recent-work-item-template">
|
|
|
|
<a href="" class="recent-work-item">
|
|
|
|
<div class="object-name"></div>
|
2022-11-23 22:03:35 +08:00
|
|
|
<div class="object-type"><span data-placement="bottom"></span></div>
|
2020-03-11 18:34:59 +08:00
|
|
|
<div class="object-changed"></div>
|
|
|
|
</a>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template id="recent-work-no-results-template">
|
2020-03-12 22:00:14 +08:00
|
|
|
<div class="widget-placeholder">
|
2022-05-19 19:46:03 +08:00
|
|
|
<p class="widget-placeholder-title"><%= t('dashboard.recent_work.no_results.title') %></p>
|
|
|
|
<p class="widget-placeholder-description"><%= t('dashboard.recent_work.no_results.description') %></p>
|
2020-03-11 18:34:59 +08:00
|
|
|
</div>
|
2020-10-02 20:49:08 +08:00
|
|
|
</template>
|