Skip to content

Commit f689520

Browse files
abaryanikhita
authored andcommitted
Fix #98: Make hyperlinks open in new tab (#105)
* Fix #98: Make hyperlinks open in new tab * Fix #98: Make hyperlinks open in new tab
1 parent a4a25fc commit f689520

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

oshc/main/templates/base.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
<li class="dropdown">
2929
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Sessions <span class="caret"></span></a>
3030
<ul class="dropdown-menu" role="menu">
31-
<li><a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q">View Session</a></li>
32-
<li><a href="{% url 'request_session' %}">Request a Session</a></li>
31+
<li><a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q" target="_blank">View Session</a></li>
32+
<li><a href="{% url 'request_session' %}" target="_blank">Request a Session</a></li>
3333
</ul>
3434
</li>
35-
<li><a href="https://github.com/OpenSourceHelpCommunity">Resources</a></li>
36-
<li><a href="mailto:opensourcehelpcommunity@gmail.com">Contact</a></li>
37-
<li><a href="https://opensourcehelp.herokuapp.com/">Join Us!</a></li>
35+
<li><a href="https://github.com/OpenSourceHelpCommunity" target="_blank">Resources</a></li>
36+
<li><a href="mailto:opensourcehelpcommunity@gmail.com" target="_blank">Contact</a></li>
37+
<li><a href="https://opensourcehelp.herokuapp.com/" target="_blank">Join Us!</a></li>
3838
{% if user.is_authenticated %}
3939
<li><a href="#!">Hey {{ user.username }}!</a></li>
4040
<li><a href="{% url 'auth_logout' %}">Logout</a></li>
4141
{% else %}
42-
<li><a href="{% url 'auth_login' %}">Sign In</a></li>
43-
<li><a href="{% url 'registration_register' %}">Sign Up</a></li>
42+
<li><a href="{% url 'auth_login' %}" target="_blank">Sign In</a></li>
43+
<li><a href="{% url 'registration_register' %}" target="_blank">Sign Up</a></li>
4444
{% endif %}
4545
</ul>
4646
</div>
@@ -60,16 +60,16 @@
6060
<ul>
6161
<span class="col-sm-6 left-align">
6262
<li>
63-
<a href="https://www.facebook.com/opensourcehelpcommunity/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
63+
<a href="https://www.facebook.com/opensourcehelpcommunity/" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a>
6464
</li>
6565
<li>
66-
<a href="https://twitter.com/oshelpcommunity"><i class="fa fa-twitter" aria-hidden="true"></i></a>
66+
<a href="https://twitter.com/oshelpcommunity" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
6767
</li>
6868
<li>
69-
<a href="https://github.com/OpenSourceHelpCommunity"><i class="fa fa-github" aria-hidden="true"></i></a>
69+
<a href="https://github.com/OpenSourceHelpCommunity" target="_blank"><i class="fa fa-github" aria-hidden="true"></i></a>
7070
</li>
7171
<li>
72-
<a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q"><i class="fa fa-youtube-play" aria-hidden="true"></i></a>
72+
<a href="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q" target="_blank"><i class="fa fa-youtube-play" aria-hidden="true"></i></a>
7373
</li>
7474
</span>
7575
<span class="col-sm-6 back-to-top right-align">

oshc/main/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4>A Virtual Platform To Help People To Start Contributing To Open Source Proje
1515
<div class="container">
1616
<h3>Our Mission</h3>
1717
<p class="bi">
18-
<b>"</b>Open Source Help Community is an a virtual platform to help people to start contributing to open source projects<b>"</b>
18+
<b>"</b>Open Source Help Community is a virtual platform to help people to start contributing to open source projects<b>"</b>
1919
</p>
2020
<p class="intro">
2121
OSHC is established with the idea in mind to reach those people who are interested in contributing to open source projects but find it difficult. OSHC organizes sessions with open source projects contributors and publishes material which will be useful

0 commit comments

Comments
 (0)