Skip to content

Commit

Permalink
add new data set link
Browse files Browse the repository at this point in the history
  • Loading branch information
rest515 committed Mar 4, 2020
1 parent 9418119 commit 1cafb71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/application/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
%nav.my-2.my-md-0.mr-md-3
= link_to t("menu.data_sets"), data_sets_path, class: "p-2 text-dark"
= link_to t("menu.fact_checks"), '#', onclick: "alert('준비 중입니다');", class: "p-2 text-dark mr-3"

- if user_signed_in?
= link_to t("link.new_data_set"), new_data_set_path, class: "btn btn-primary btn-sm"
= link_to t("link.sign_out"), destroy_user_session_path, method: :delete, class: "btn btn-outline-primary btn-sm"
- else
= link_to t("link.sign_in"), new_user_session_path, class: "btn btn-outline-primary btn-sm"
1 change: 1 addition & 0 deletions config/locales/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ko:
main:
title: 원데이터
link:
new_data_set: 데이터 추가
edit: 수정
destroy: 삭제
sign_in: 로그인
Expand Down

0 comments on commit 1cafb71

Please sign in to comment.