diff options
author | Peteys93 <Patrick.Shelton@live.longwood.edu> | 2016-05-18 10:01:44 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2016-05-18 10:01:44 +0300 |
commit | c2c6215c24f58cb2ad1e31781a0502df3bc6743f (patch) | |
tree | 2b2cc6ba886c288d691b321567f495224a14f807 /plugins/SitesManager/templates | |
parent | fe680fc076f307a2c11c6d1da5caedb90358e0bb (diff) |
Manage Website: Links to website (#10087)
* Manage Website: Links to website
Add clickable urls for each website as requested in #10066.
* Remove extra = and whitespace
Updated style
* New tab, rel noreferrer, ng-href, commas
Changed the urls to open in new tabs, rel=noreferrer, ng-href, and add commas back into the list as requested
* Fix pasting error
Edit out extra </a> and {{ urls}}
* Change div to span
Change div to span to have url on the correct line
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/sites-list/site-fields.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SitesManager/templates/sites-list/site-fields.html b/plugins/SitesManager/templates/sites-list/site-fields.html index 2f0eaa7b76..20d40a9c59 100644 --- a/plugins/SitesManager/templates/sites-list/site-fields.html +++ b/plugins/SitesManager/templates/sites-list/site-fields.html @@ -31,7 +31,9 @@ <ul> <li> <span class="title">{{ 'SitesManager_Urls'|translate }}</span>: - {{ site.alias_urls.join(', ') }} + <span ng-repeat="url in site.alias_urls"> + <a target=_blank rel=noreferrer ng-href="{{ url }}">{{ url }}{{$last ? '' : ', '}}</a> + </span> </li> <li ng-show="site.excluded_ips.length"> <span class="title">{{ 'SitesManager_ExcludedIps'|translate }}:</span> |