Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Not show lector's popup at schedule card if there was not about info.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvislov committed Apr 2, 2013
1 parent 0421c1a commit 4adbf25
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/views/web/schedules/_lecture.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@

%a.caption{data: {toggle: 'modal'}, href: "##{dom_id(slot)}", role: "button"}
= slot.event.title
%a.author{data: {toggle: 'modal'}, href: "##{dom_id(slot)}__author_info", role: "button"}
= slot.event.user.full_name
- if slot.event.user.about?
%a.author{data: {toggle: 'modal'}, href: "##{dom_id(slot)}__author_info", role: "button"}
= slot.event.user.full_name
- else
.author= slot.event.user.full_name
%span.company
(
= slot.event.user.company
)
= surround '(', ')' do
= slot.event.user.company

0 comments on commit 4adbf25

Please sign in to comment.