Skip to content

Commit

Permalink
Merge pull request sakaiproject#211 from alienresident/SAK-25514
Browse files Browse the repository at this point in the history
SAK-25514 Squashing all Morpheus commits
  • Loading branch information
ncaidin committed Feb 23, 2015
2 parents 9c4af9e + 21d6b03 commit 9fa1ef5
Show file tree
Hide file tree
Showing 110 changed files with 4,565 additions and 5,193 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,64 @@
#end ## END of IF ($viewAsStudentLink)

<ul id="loginLinks" class="Mrphs-userNav">
<li class="Mrphs-userNav__popup" aria-haspopup="true">

<ul class="Mrphs-userNav__subnav" role="menu">
<li class="Mrphs-userNav__popup js-toggle-user-nav" aria-haspopup="true">

#if (${displayUserloginInfo})

#if (${tabsSites.profileToolUrl})

<li class="Mrphs-userNav__submenuitem">
<a id="loginUser" role="menuitem" href="${tabsSites.profileToolUrl}?sakai_nav_minimized=true&amp;sakai.state.reset=true" class="Mrphs-userNav__submenuitem--userlink">
<span class="Mrphs-userNav__submenuitem--username">${loginUserDispName}</span>
<span class="Mrphs-userNav__submenuitem--userid">${loginUserDispId}</span>
<a id="loginUser" role="menuitem" href="${tabsSites.profileToolUrl}?sakai.state.reset=true" class="Mrphs-userNav__submenuitem--userlink">
<span class="Mrphs-userNav__submenuitem--username">${loginUserDispName}</span>
<span class="Mrphs-userNav__submenuitem--userid">${loginUserDispId}</span>
</a>
<span class="Mrphs-userNav__drop" tabindex="-1"></span>

#else

<span class="Mrphs-userNav__submenuitem--username">${loginUserDispName}</span>
<span class="Mrphs-userNav__submenuitem--userid">${loginUserDispId}</span>
<span class="Mrphs-userNav__drop" tabindex="-1"></span>

#end ## END of IF (${tabsSites.profileToolUrl})

#end ## END of IF (${displayUserloginInfo})

<ul class="Mrphs-userNav__subnav is-hidden" role="menu">

#foreach ( $site in $tabsSites.tabsSites )

#if (${site.isMyWorkspace})

#if (${site.isCurrentSite})

<li class="Mrphs-userNav__submenuitem is-selected">
<a href="#" role="menuitem" aria-haspopup="true">
##<span>##${rloader.sit_mywor}</span>
<span>My Account</span>
<span class="Mrphs-userNav__drop" tabindex="-1" data-site-id="${site.siteId}"></span>
</a>
</li>

#else

<li class="Mrphs-userNav__submenuitem" role="menuitem">
<span class="Mrphs-userNav__submenuitem--username">${loginUserDispName}</span>
<span class="Mrphs-userNav__submenuitem--userid">${loginUserDispId}</span>
<li class="Mrphs-userNav__submenuitem">
<a href="${site.siteUrl}#" role="menuitem" aria-haspopup="true">
##<span>##${rloader.sit_mywor}</span>
<span>My Account</span>
<span class="Mrphs-userNav__drop" tabindex="-1" data-site-id="${site.siteId}"></span>
</a>
</li>

#end ## END of IF (${tabsSites.profileToolUrl})
#end ## END of IF (${site.isCurrentSite})

#end ## END of IF (${displayUserloginInfo})
#end ## END of IF (${site.isMyWorkspace})

#end ## END of FOREACH ( $site in $tabsSites.tabsSites )

#if (${tabsSites.prefsToolUrl})

<li class="Mrphs-userNav__submenuitem">
<a role="menuitem" href="${tabsSites.prefsToolUrl}?sakai_nav_minimized=true" class="Mrphs-userNav__submenuitem--prefs">
<a role="menuitem" href="${tabsSites.prefsToolUrl}" class="Mrphs-userNav__submenuitem--prefs">
<span>${rloader.sit_preferences}</span>
</a>
</li>
Expand All @@ -52,7 +80,7 @@
#if ($allowAddSite)

<li class="Mrphs-userNav__submenuitem">
<a id="addNewSiteLink" role="menuitem" href="${tabsSites.worksiteToolUrl}?sakai_nav_minimized=true&amp;panel=Shortcut&amp;sakai_action=doNew_site&amp;sakai.state.reset=true" class="Mrphs-userNav__submenuitem--newsite">
<a id="addNewSiteLink" role="menuitem" href="${tabsSites.worksiteToolUrl}?panel=Shortcut&amp;sakai_action=doNew_site&amp;sakai.state.reset=true" class="Mrphs-userNav__submenuitem--newsite">
<span>${rloader.sit_newsite}</span>
</a>
</li>
Expand All @@ -72,15 +100,13 @@
#end ## END of IF (${tabsSites.tutorial})

</ul>

<span class="Mrphs-userNav__dropdown--icon Mrphs-dropDown--icon" tabindex="-1"></span>

#parse("/vm/morpheus/snippets/loginImage-snippet.vm")

</li>

</ul> <!-- end of nav#loginLinks-->

#parse("/vm/morpheus/snippets/loginImage-snippet.vm")

#else ## ELSE of IF (!${loginTopLogin})

#parse("/vm/morpheus/snippets/loginForm-snippet.vm")
Expand Down
Loading

0 comments on commit 9fa1ef5

Please sign in to comment.