Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchタブでも日報作成とマイプロフィールの確認をしたい #5758

Merged
merged 1 commit into from
Nov 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions app/views/current_user/watches/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ header.page-header
.page-header__inner
h2.page-header__title
| ダッシュボード
.page-header-actions
.page-header-actions__items
.page-header-actions__item
= link_to current_user, class: 'a-button is-md is-secondary is-block' do
i.fa-solid.fa-user
| マイプロフィール
- unless current_user.adviser?
.page-header-actions__item
= link_to new_report_path, class: 'a-button is-md is-secondary is-block' do
i.fa-regular.fa-plus
| 日報作成

= render 'home/page_tabs', user: @user

Expand Down