|
|
|
@@ -1,3 +1,4 @@ |
|
|
|
|
|
|
|
{{template "base/head" .}} |
|
|
|
<div class="organization profile"> |
|
|
|
{{/* overflow: auto is the clearfix - this avoids the image going beyond |
|
|
|
@@ -26,7 +27,7 @@ |
|
|
|
|
|
|
|
<div class="ui sixteen wide computer column"> |
|
|
|
<div class="ui mobile reversed stackable grid"> |
|
|
|
<div class="ui sixteen wide tablet sixteen wide computer column margin-top20 pad-botom maxheight" id='key_tag'> |
|
|
|
<div class="ui sixteen wide tablet sixteen wide computer column margin-bottom20 pad-botom maxheight" id='key_tag'> |
|
|
|
{{if .OrgTopics}} |
|
|
|
<a class="{{if eq $.Keyword "" }} tag_bg {{end}} tag_key ui small tag_lable topic omit" href="{{$.Link}}?" >{{$.i18n.Tr "org.all_org_topics"}}</span></a> |
|
|
|
{{end}} |
|
|
|
@@ -38,9 +39,12 @@ |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
<div style="width: 100%;margin:5px 5px 10px;"> |
|
|
|
<a class="text-right" onclick="isUnfold()" id="icon_btn"><i class="ri-arrow-down-s-line" style="display:inline-block;vertical-align:top"></i> {{.i18n.Tr "org.unfold"}}</a> |
|
|
|
{{if .OrgTopics}} |
|
|
|
<a class=" tag_key ui small tag_lable topic omit icon_a" onclick="isUnfold()" id="icon_btn" > |
|
|
|
<i class="ri-arrow-down-s-line" style="display:inline-block;vertical-align:top"></i> |
|
|
|
 {{.i18n.Tr "org.unfold"}} |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
@@ -131,16 +135,15 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
function isUnfold(){ |
|
|
|
var isContain= document.querySelector("#key_tag").classList.contains("maxheight"); |
|
|
|
if(isContain){ |
|
|
|
document.querySelector("#key_tag").classList.remove("maxheight"); |
|
|
|
document.getElementById("icon_btn").innerHTML="<i class=\"ri-arrow-up-s-line\" style=\"display:inline-block;vertical-align:top\"></i>   {{.i18n.Tr "org.fold"}}" |
|
|
|
}else{ |
|
|
|
document.querySelector("#key_tag").classList.add("maxheight"); |
|
|
|
document.getElementById("icon_btn").innerHTML="<i class=\"ri-arrow-down-s-line\" style=\"display:inline-block;vertical-align:top\"></i>   {{.i18n.Tr "org.unfold"}}" |
|
|
|
|
|
|
|
|
|
|
|
function isUnfold(){ |
|
|
|
var isContain= document.querySelector("#key_tag").classList.contains("maxheight"); |
|
|
|
if(isContain){ |
|
|
|
document.querySelector("#key_tag").classList.remove("maxheight"); |
|
|
|
document.getElementById("icon_btn").innerHTML="<i class=\"ri-arrow-up-s-line\" style=\"display:inline-block;vertical-align:top\"></i>   {{.i18n.Tr "org.fold"}}" |
|
|
|
}else{ |
|
|
|
document.querySelector("#key_tag").classList.add("maxheight"); |
|
|
|
document.getElementById("icon_btn").innerHTML="<i class=\"ri-arrow-down-s-line\" style=\"display:inline-block;vertical-align:top\"></i>   {{.i18n.Tr "org.unfold"}}" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
</script> |