Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
a.href = document.URL; | a.href = document.URL; | ||
var docPath = a.pathname + a.search; | var docPath = a.pathname + a.search; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
if ($('#pt-logout').length) | if ($('#pt-logout').length) | ||
Line 28: | Line 19: | ||
$('#editMenu').show(); | $('#editMenu').show(); | ||
- | $('#editLink').attr('href', docLink + 'action=edit'); | + | // $('#editLink').attr('href', docLink + 'action=edit'); |
- | $('#historyLink').attr('href', | + | $('#historyLink').attr('href', $('.left-menu').children().get(0).children().get(2).children().get(0).href); |
$('#logoutLink').attr('href', $('#pt-logout').children().get(0).href); | $('#logoutLink').attr('href', $('#pt-logout').children().get(0).href); | ||
} | } |