diff --git a/repository/Brea/BreaMember.class.st b/repository/Brea/BreaMember.class.st index 3b3dfc2..51c88e2 100644 --- a/repository/Brea/BreaMember.class.st +++ b/repository/Brea/BreaMember.class.st @@ -95,6 +95,14 @@ BreaMember >> familyName: anObject [ familyName := anObject ] +{ #category : #accessing } +BreaMember >> getGenericProfilePicture [ + "Other considered avatars where: + 'https://upload.wikimedia.org/wikipedia/commons/1/1e/Default-avatar.jpg'" + self picture: 'https://www.jamf.com/jamf-nation/img/default-avatars/generic-user.png'. + ^ picture +] + { #category : #accessing } BreaMember >> givenName [ ^ givenName @@ -154,13 +162,14 @@ BreaMember >> htmlOutput [ { #category : #public } BreaMember >> htmlOutputTemplate [ "I show the member profile as HTML" - ^ '
+ ^ '
+

{{givenName}} {{familyName}}

@@ -186,6 +195,7 @@ BreaMember >> htmlOutputTemplate [ href="portfolio-example01.html">Read more
+
' ] @@ -242,12 +252,12 @@ BreaMember >> password: anObject [ { #category : #accessing } BreaMember >> picture [ - ^ picture + ^ picture ifNil: [ ^ self getGenericProfilePicture ] ] { #category : #accessing } -BreaMember >> picture: anObject [ - picture := anObject +BreaMember >> picture: anImageFilePath [ + picture := anImageFilePath ] { #category : #helpers } diff --git a/repository/Brea/BreaWebsite.class.st b/repository/Brea/BreaWebsite.class.st index 02234aa..317d716 100644 --- a/repository/Brea/BreaWebsite.class.st +++ b/repository/Brea/BreaWebsite.class.st @@ -11,11 +11,6 @@ Class { #category : #Brea } -{ #category : #utility } -BreaWebsite >> baseRepoUrl [ - ^ 'http://mutabit.com/repos.fossil/gig/' -] - { #category : #accessing } BreaWebsite >> fossilRepo [ ^ fossilRepo