Differential D10585 Diff 25583 src/applications/calendar/controller/PhabricatorCalendarViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/controller/PhabricatorCalendarViewController.php
| Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | if ($request->getExists('created')) { | ||||
| $view = id(new AphrontErrorView()) | $view = id(new AphrontErrorView()) | ||||
| ->setSeverity(AphrontErrorView::SEVERITY_NOTICE) | ->setSeverity(AphrontErrorView::SEVERITY_NOTICE) | ||||
| ->setTitle( | ->setTitle( | ||||
| pht( | pht( | ||||
| 'You are not logged in. %s to see your calendar events.', | 'You are not logged in. %s to see your calendar events.', | ||||
| phutil_tag( | phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $login_uri), | 'href' => $login_uri, | ||||
| ), | |||||
| pht('Log in')))); | pht('Log in')))); | ||||
| } | } | ||||
| return $view; | return $view; | ||||
| } | } | ||||
| } | } | ||||