mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	social-area page and profile page update
This commit is contained in:
		@@ -26,7 +26,7 @@
 | 
			
		||||
                  </div>
 | 
			
		||||
                  <div class="col 12">
 | 
			
		||||
                    {% if user.show_last_seen %}
 | 
			
		||||
                    <div class="chip">Last seen: {{ user.last_seen }}</div>
 | 
			
		||||
                    <div class="chip">Last seen: {{ last_seen }}</div>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                    {% if user.location %}
 | 
			
		||||
                    <p><span class="material-icons" style="margin-right:20px; margin-top:20px;">location_on</span><i>{{ user.location }}</i></p>
 | 
			
		||||
@@ -76,7 +76,7 @@
 | 
			
		||||
                </table>
 | 
			
		||||
                <br>
 | 
			
		||||
                {% if user.show_member_since %}
 | 
			
		||||
                <p><i>Member since: {{ user.member_since }}</i></p>
 | 
			
		||||
                <p><i>Member since: {{ member_since }}</i></p>
 | 
			
		||||
                {% endif %}
 | 
			
		||||
                <p></p>
 | 
			
		||||
                <br>
 | 
			
		||||
@@ -93,7 +93,8 @@
 | 
			
		||||
      <div class="col s6">
 | 
			
		||||
        <div class="card">
 | 
			
		||||
          <div class="card-content">
 | 
			
		||||
            <h4>Groups</h4>
 | 
			
		||||
            <h4>Followed corpora</h4>
 | 
			
		||||
            <div class="followed-corpus-list no-autoinit"></div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
@@ -101,7 +102,7 @@
 | 
			
		||||
        <div class="card">
 | 
			
		||||
          <div class="card-content">
 | 
			
		||||
            <h4>Public corpora</h4>
 | 
			
		||||
              <div class="public-corpora-list" data-user-id="{{ user.hashid }}"></div>
 | 
			
		||||
            <div class="public-corpus-list no-autoinit"></div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
@@ -127,6 +128,11 @@ if ("{{ user.id }}" == "{{ current_user.hashid }}") {
 | 
			
		||||
} else {
 | 
			
		||||
  publicInformationBadge.remove();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
let followedCorpusList = new FollowedCorpusList(document.querySelector('.followed-corpus-list'));
 | 
			
		||||
followedCorpusList.add({{ followed_corpora|tojson }});
 | 
			
		||||
let publicCorpusList = new PublicCorpusList(document.querySelector('.public-corpus-list'));
 | 
			
		||||
publicCorpusList.add({{ own_public_corpora|tojson }});
 | 
			
		||||
</script>
 | 
			
		||||
{% endblock scripts %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user