* Update Travis.yml * Update README * Update README * Adjust test to not rely on env vars * Update encryption * Refactor * Update env key * Stub AWS calls * Create ApplicationConfig * Fix specs * Fix lint * Update ApplicationConfig * Remove travis env vars * Fix lint * Extend character limit to 100 * Add env to travis * Take out auto-restart after deploy * Immediately discarded test cache * Stub GA in request specs * Stub Pusher * Fix broken specs * Update fixture * Add CodeClimate id * Change CodeClimate key * Remove merge mistakes * WIP * Add Envied gem & Change README * Add missing keys * Add missing key * Update fixture * Fix broken spec * Add Slack Notification for Travis * Fix wording * Fix typo
57 lines
1.3 KiB
Text
57 lines
1.3 KiB
Text
<% if user_signed_in? %>
|
|
<div class="menu logged-in" id="loggedinmenu">
|
|
<div id="user-profile-link-placeholder">
|
|
<div class="option">
|
|
...
|
|
</div>
|
|
</div>
|
|
<a href="/dashboard">
|
|
<div class="option">
|
|
Dashboard
|
|
</div>
|
|
</a>
|
|
<a href="/new">
|
|
<div class="option">
|
|
Write a Post
|
|
</div>
|
|
</a>
|
|
<a href="/settings">
|
|
<div class="option">
|
|
Settings
|
|
</div>
|
|
</a>
|
|
<a href="/p/information">
|
|
<div class="option">
|
|
Key Links
|
|
</div>
|
|
</a>
|
|
<a href="/signout_confirm" data-no-instant>
|
|
<div class="option">
|
|
Sign Out
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<% else %>
|
|
<div class="menu logged-out" id="loggedoutmenu">
|
|
<a href="/enter" data-no-instant>
|
|
<div class="header">
|
|
Sign In/Up
|
|
</div>
|
|
</a>
|
|
<a href="/users/auth/twitter?callback_url=<%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>/users/auth/twitter/callback" data-no-instant>
|
|
<div class="option">
|
|
Via Twitter
|
|
</div>
|
|
</a>
|
|
<a href="/users/auth/github?state=navbar_basic" data-no-instant>
|
|
<div class="option">
|
|
Via Github
|
|
</div>
|
|
</a>
|
|
<a href="/p/information">
|
|
<div class="option">
|
|
All about dev.to
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<% end %>
|