Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !91 opened Jun 05, 2014 by Kálmán Viktor@kviktor 
  • Report abuse
Report abuse

Feature Profile View

Need feedback

  • Discussion 3
  • Commits 15
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on an old version of the diff Jun 05, 2014
    circle/dashboard/models.py
    83 83 unique=True, blank=True, null=True, max_length=64,
    84 84 help_text=_('Unique identifier of the person, e.g. a student number.'))
    85 85 instance_limit = IntegerField(default=5)
    86 use_gravatar = BooleanField(default=False)
    86 87  
    87 88 def notify(self, subject, template, context={}, valid_until=None):
    88 89 return Notification.send(self.user, subject, template, context,
    89 90 valid_until)
    90 91  
    91 92 def get_absolute_url(self):
    92 return reverse("dashboard.views.profile")
    93 return reverse("dashboard.views.profile", kwargs={'pk': self.user.pk})
    • Őry Máté @orymate commented Jun 05, 2014
      Owner

      rly?

      rly?
    Please register or sign in to reply
  • Őry Máté
    @orymate started a discussion on an old version of the diff Jun 05, 2014
    circle/dashboard/templates/dashboard/profile.html
    11 <div class="panel panel-default">
    12 <div class="panel-heading">
    13 <a class="pull-right btn btn-default btn-xs" href="{% url "dashboard.index" %}">{% trans "Back" %}</a>
    14 <h3 class="no-margin">
    15 <i class="icon-user"></i>
    16 {% include "dashboard/_display-name.html" with user=profile show_org=True %}
    17 </h3>
    18 </div>
    19 <div class="panel-body">
    20 <div>
    21 <div class="" style="float: left">
    22 <img id="dashboard-profile-avatar" src="{{ avatar_url }}" class="img-rounded"/>
    23 </div>
    24 <div class="" style="padding-left: 215px;">
    25 <p>{% trans "Username" %}: {{ profile.username }}</p>
    26 <p>{% trans "Organisation ID" %}: {{ profile.profile.org_id|default:"-" }}</p>
    • Őry Máté @orymate commented Jun 05, 2014
      Owner

      💤

      :zzz:
    Please register or sign in to reply
  • Őry Máté @orymate commented Jun 05, 2014
    Owner

    👍

    :+1:
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!91