本番デプロイ設定: SSL, Kamal, API環境変数化, テスト修正
This commit is contained in:
@@ -189,6 +189,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 掲示板リンク(国選択の相談用) -->
|
||||
<div class="mt-4 p-4 bg-blue-50 border border-blue-200 rounded-md">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center">
|
||||
<i class="fa-solid fa-comments text-blue-600 text-lg mr-3"></i>
|
||||
<div>
|
||||
<p class="text-sm font-medium text-blue-800">国選択を相談しませんか?</p>
|
||||
<p class="text-xs text-blue-600">掲示板で他のプレイヤーと相談できます</p>
|
||||
</div>
|
||||
</div>
|
||||
<%= link_to game_boards_path(@game), class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" do %>
|
||||
<i class="fa-solid fa-comment-dots mr-2"></i> 掲示板へ
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ゲーム管理者用コントロール -->
|
||||
<% if (current_user&.admin? || @game.administrator == current_user) && @game.all_powers_assigned? %>
|
||||
<div class="mt-6 pt-6 border-t border-gray-200">
|
||||
@@ -475,6 +491,11 @@
|
||||
<span class="inline-flex items-center px-2 py-0.5 rounded text-sm font-bold border border-gray-200 shadow-sm <%= power_color_class(status[:power]) %>">
|
||||
<%= status[:power] %>
|
||||
</span>
|
||||
<% if status[:participant] %>
|
||||
<span class="ml-2 text-xs text-gray-500">
|
||||
(<%= status[:participant].user.username %>)
|
||||
</span>
|
||||
<% end %>
|
||||
<% if status[:is_user] %>
|
||||
<span class="ml-2 inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-indigo-100 text-indigo-800">YOU</span>
|
||||
<% elsif status[:participant].nil? %>
|
||||
|
||||
Reference in New Issue
Block a user