commit b57f054c43618f2b708e2fb7aa3569a124222cb8 Author: Isis Lovecruft isis@torproject.org Date: Tue Jan 28 18:03:11 2014 +0000
Add buttons for IPv4/6 bridge requests to base.html template.
* FIXES #9127. --- lib/bridgedb/templates/base.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/lib/bridgedb/templates/base.html b/lib/bridgedb/templates/base.html index 4a80040..9f8a70a 100644 --- a/lib/bridgedb/templates/base.html +++ b/lib/bridgedb/templates/base.html @@ -51,6 +51,31 @@ ${self.body()} ("""<a href="https://www.torproject.org/docs/bridges">""", "</a>")} </p>
+ <h4>${_("I need a different type of bridge!")}</h4> + <p> + ${_("BridgeDB can provide bridges with either IPv4 or IPv6 addresses.")} + </p> + + <!-- Buttons for IP version selection --> + <p> + <div class="pt-container" style="margin: 20px 20px 20px"> + <div class="btn-toolbar" style="text-align: center; margin: 0;"> + <div class="btn-group"> + <a href="./bridges"> + <button class="btn btn-default" type="button"> + ${_("Get IPv4 bridges")} + </button> + </a> + <a href="./bridges?ipv6=true"> + <button class="btn btn-default" type="button"> + ${_("Get IPv6 bridges")} + </button> + </a> + </div> + </div> + </div> + </p> + <h4>${_("I need an alternative way of getting bridges!")}</h4> <p>${_("Another way to find public bridge addresses is to send an email " "(from a %s or a %s address) to %s with the line 'get bridges' by "
tor-commits@lists.torproject.org