[Notice] Announcing the End of Demo Server [Read me]
my-files: Add more reference link support
- User profile refer link - Project logo file refer link
@bda69937353bc8ea40254c2260661f1813af0b7b
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -6606,6 +6606,7 @@ |
6606 | 6606 |
} |
6607 | 6607 |
.file-date { |
6608 | 6608 |
text-align: right; |
6609 |
+ font-size: 12px; |
|
6609 | 6610 |
} |
6610 | 6611 |
|
6611 | 6612 |
.file-location { |
--- app/utils/RouteUtil.java
+++ app/utils/RouteUtil.java
... | ... | @@ -60,6 +60,10 @@ |
60 | 60 |
return getUrl(ReviewComment.find.byId(longId)); |
61 | 61 |
case COMMENT_THREAD: |
62 | 62 |
return getUrl(CommentThread.find.byId(longId)); |
63 |
+ case USER_AVATAR: |
|
64 |
+ return getUrl(User.find.byId(longId)); |
|
65 |
+ case PROJECT: |
|
66 |
+ return getUrl(Project.find.byId(longId)); |
|
63 | 67 |
default: |
64 | 68 |
throw new IllegalArgumentException( |
65 | 69 |
Resource.getInvalidResourceTypeMessage(resourceType)); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?