Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Re-add link to ~user widgets
Browse files Browse the repository at this point in the history
Also add a link to widget docs. Closes #3924.
  • Loading branch information
mattbk committed Nov 12, 2016
1 parent 65df931 commit cd14926
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
, ('/emails/', _('Emails'), True, False)
, ('/routes/', _('Payments'), True, False)
, ('/settings/', _('Settings'), True, False)
, ('/widgets/', _('Widgets'), True, False)
, ('/events/', _('Events'), False, False)
] %}
{% set pages = filter_profile_nav(user, participant, pages) %}
Expand Down
8 changes: 6 additions & 2 deletions www/~/%username/widgets/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ title = _("Widgets")
-1px -1px 0 rgba(255,255,255,.25) inset;
}
</style>
<div>

<div>
<h2>{{ _("Giving & Taking Widgets") }}</h2>

<p>{{ _("Use this code to add a Gratipay \"receiving\" widget on your website:") }}</p>
Expand All @@ -121,5 +121,9 @@ title = _("Widgets")

<p><script data-gratipay-username="{{ participant.username }}" data-gratipay-widget="giving" src="//grtp.co/v1.js"></script></p>

<h2>{{ _("More Info") }}</h2>

<p>Documentation for widgets is available at <a href="https://github.com/gratipay/grtp.co">https://github.com/gratipay/grtp.co</a>.</p>

</div>
{% endblock %}

0 comments on commit cd14926

Please sign in to comment.