Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
arturtr committed Mar 25, 2016
1 parent f005482 commit 13d4f4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/telegram_group_chats/_link_or_button.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<% if @issue.telegram_chat_url.present? %>
<%= render 'telegram_group_chats/links' %>
<% else %>
<% if (User.current.group_ids.map(&:to_s) & @project.creator_telegram_group_ids).present? %>
<% if @project.creator_telegram_group_ids.present? and User.current.group_ids.present? and
(User.current.group_ids.map(&:to_s) & @project.creator_telegram_group_ids).present? %>
<%= link_to telegram_group_chats_path(issue_id: @issue.id), method: :post, remote: true do %>
<%= image_tag '/plugin_assets/redmine_chat_telegram/images/telegram-icon.png' %>
Создать чат Telegram
Expand Down

0 comments on commit 13d4f4c

Please sign in to comment.