-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#M06. As a User, I would like to see my account. #69
#M06. As a User, I would like to see my account. #69
Conversation
@aticodein this is looking great so far! Would you be able to provide a bit more context on the Pull Request comments?
Basically we want to try to provide as much as possible here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aticodein Thanks for your work on this so far! Great progress 👍
See comments below for some minor code adjustments, thanks!
Hi Tim,
I'll be back at my laptop tonight and take a look on these in details.
Thanks
…On Fri, 16 Oct 2020, 15:27 Tim Nelson, ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@aticodein <https://github.com/aticodein> Thanks for your work on this so
far! Great progress 👍
See comments below for some minor code adjustments, thanks!
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> @@ -6,4 +6,23 @@
<!-- TO DO : build profile page -->
TEST PROFILE PAGE
+<!DOCTYPE html>
+ <h1>Profile Page</h1>
+ <h2>You are logged in as</h2>
+
+<!---------------------------------------profile display------------------------------------------------->
@aticodein <https://github.com/aticodein> please stick to standard HTML
comments, only using two dashes.
<!-- profile display -->
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> @@ -6,4 +6,23 @@
<!-- TO DO : build profile page -->
TEST PROFILE PAGE
+<!DOCTYPE html>
+ <h1>Profile Page</h1>
+ <h2>You are logged in as</h2>
+
+<!---------------------------------------profile display------------------------------------------------->
+ <div class="container-fluid">
+ <div class="row">
+ <div class="col-md-4"><h4>Username :</h4><p> {{ user.username }} </p></div>
@aticodein <https://github.com/aticodein>
Since these lines will eventually grow to more content or design/styles,
let's try to break them up with some code formatting, instead of using
everything on a single-line. Something like this, for example:
<div class="col-md-4">
<h4>Username:</h4>
<p>{{ user.username }}</p>
</div>
The same would apply to the other lines below.
Also, watch out for extra spaces where they're not needed.
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> {% endblock %}
+
+
Files should generally only have a single empty line at the end of the
file.
Can you remember the extra blank lines here, so there's only 1 blank line
at the end of the file?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKXK2GQKAU6U7GCEKHNVTKDSLBJ4TANCNFSM4STKUQKA>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aticodein
Thanks for those changes!
Just some extra spaces in and minor corrections, outlined below.
Thank you Tim,
I will do these changes tonight, unfortunately working this evening again
with no laptop.
Kind Regards,
Attila
…On Sat, 17 Oct 2020 at 18:06, Tim Nelson ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@aticodein <https://github.com/aticodein>
Thanks for those changes!
Just some extra spaces in and minor corrections, outlined below.
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
>
+<!-- Profile display -->
+
+ <div class="container-fluid">
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>Username :</h4>
@aticodein <https://github.com/aticodein>
Would you mind fixing some of the extra spaces on the code?
<h4>Username:</h4>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
>
+<!-- Profile display -->
+
+ <div class="container-fluid">
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>Username :</h4>
+ <p> {{ user.username }} </p>
<p>{{ user.username }}</p>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
>
+<!-- Profile display -->
+
+ <div class="container-fluid">
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>Username :</h4>
+ <p> {{ user.username }} </p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>User e-mail address :</h4>
<h4>Email Address:</h4>
Short and sweet - just Email Address is fine.
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
>
+<!-- Profile display -->
+
+ <div class="container-fluid">
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>Username :</h4>
+ <p> {{ user.username }} </p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>User e-mail address :</h4>
+ <p> {{ user.email }} </p>
<p>{{ user.email }}</p>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> + <div class="col-md-4">
+ <h4>Username :</h4>
+ <p> {{ user.username }} </p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>User e-mail address :</h4>
+ <p> {{ user.email }} </p>
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>First name :</h4>
<h4>First Name:</h4>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> + <h4>Username :</h4>
+ <p> {{ user.username }} </p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>User e-mail address :</h4>
+ <p> {{ user.email }} </p>
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>First name :</h4>
+ <p> {{ user.first_name }}</p>
<p>{{ user.first_name }}</p>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> + <div class="col-md-4">
+ <h4>User e-mail address :</h4>
+ <p> {{ user.email }} </p>
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>First name :</h4>
+ <p> {{ user.first_name }}</p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>Last name :</h4>
<h4>Last Name:</h4>
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> + <h4>User e-mail address :</h4>
+ <p> {{ user.email }} </p>
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-4">
+ <h4>First name :</h4>
+ <p> {{ user.first_name }}</p>
+ </div>
+
+ <div class="col-md-4">
+ <h4>Last name :</h4>
+ <p> {{ user.last_name }}</p>
<p>{{ user.last_name }}</p>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKXK2GULI5RTTWUCU4MCALTSLHFKDANCNFSM4STKUQKA>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@aticodein could you just resolve the one small comment and we're good to go to merge the PR! Well, done btw!
Yes done |
Hi, I did remove the doctype tag, and request a new review.
Attila
…On Mon, 19 Oct 2020, 09:52 Stefan Dworschak, ***@***.***> wrote:
***@***.**** approved this pull request.
LGTM
@aticodein <https://github.com/aticodein> could you just resolve the one
small comment and we're good to go to merge the PR! Well, done btw!
------------------------------
In profiles/templates/profiles/profile.html
<#69 (comment)>
:
> @@ -3,7 +3,40 @@
{% block content %}
- <!-- TO DO : build profile page -->
- TEST PROFILE PAGE
+<!DOCTYPE html>
Could you please remove the unneeded doctype?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKXK2GVCNS4FZN44DJ42FOTSLP443ANCNFSM4STKUQKA>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well
Thank you guys!
You just made my day.
This is a very big step for me.
Kind Regards
Attila
…On Mon, 19 Oct 2020, 13:20 Tim Nelson, ***@***.***> wrote:
Assigned #69
<#69> to
@aticodein <https://github.com/aticodein>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKXK2GULXJLUZMIHDXYWGTLSLQVHPANCNFSM4STKUQKA>
.
|
Testing the pull request