File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 208208 margin-left : 5px ;
209209}
210210
211+ #activity-personal-settings-link {
212+ text-decoration : underline ;
213+
214+ a {
215+ display : block ;
216+ padding : 10px 0px 10px 25px ;
217+ }
218+ }
219+
211220.activitymessage .avatar-name-wrapper ,
212221.activitysubject .avatar-name-wrapper {
213222 position : relative ;
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ public function getTemplate($forceActive = 'all') {
8787 $ template ->assign ('activeNavigation ' , $ active );
8888 $ template ->assign ('navigations ' , $ this ->getLinkList ());
8989 $ template ->assign ('rssLink ' , $ this ->getRSSLink ());
90+ $ template ->assign ('personalSettingsLink ' , $ this ->getPersonalSettingsLink ());
9091
9192 return $ template ;
9293 }
@@ -130,4 +131,11 @@ public function getLinkList() {
130131
131132 return $ entries ;
132133 }
134+
135+ /**
136+ * @return string
137+ */
138+ protected function getPersonalSettingsLink () {
139+ return $ this ->URLGenerator ->linkToRouteAbsolute ('settings.PersonalSettings.index ' , ['section ' => 'activity ' ]);
140+ }
133141}
Original file line number Diff line number Diff line change 5353 <input id="feed-link" class="feed-link" type="text" readonly="readonly" value="<?php p ($ _ ['rssLink ' ]); ?> " />
5454 <a class="icon-clippy" data-clipboard-target="#rssurl input"></a>
5555 </span>
56+ <div id="activity-personal-settings-link">
57+ <a href="<?php p ($ _ ['personalSettingsLink ' ]); ?> ">
58+ <span class="no-icon"><?php p ($ l ->t ('Personal Activity Settings ' )); ?> </span>
59+ </a>
60+ </div>
5661 </div>
5762 </div>
5863</div>
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ public function testShowList(): void {
9797 $ template ->assign ('activeNavigation ' , 'all ' );
9898 $ template ->assign ('navigations ' , []);
9999 $ template ->assign ('rssLink ' , '' );
100+ $ template ->assign ('personalSettingsLink ' , '' );
100101 $ this ->navigation ->expects ($ this ->any ())
101102 ->method ('getTemplate ' )
102103 ->willReturn ($ template );
You can’t perform that action at this time.
0 commit comments