diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css
--- a/rhodecode/public/css/style.css
+++ b/rhodecode/public/css/style.css
@@ -3115,6 +3115,26 @@ table.code-browser .submodule-dir {
margin-top: 2px;
}
+.locking_locked{
+ background: #FFF url("../images/icons/block_16.png") no-repeat scroll 3px;
+ height: 16px;
+ width: 20px;
+ cursor: pointer;
+ display: block;
+ float: right;
+ margin-top: 2px;
+}
+
+.locking_unlocked{
+ background: #FFF url("../images/icons/accept.png") no-repeat scroll 3px;
+ height: 16px;
+ width: 20px;
+ cursor: pointer;
+ display: block;
+ float: right;
+ margin-top: 2px;
+}
+
.currently_following {
padding-left: 10px;
padding-bottom: 5px;
diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html
--- a/rhodecode/templates/summary/summary.html
+++ b/rhodecode/templates/summary/summary.html
@@ -54,15 +54,24 @@
%if c.rhodecode_user.username != 'default':
%if c.following:
-
%else:
-
%endif
%endif:
+
+ ## locking icon
+ %if c.rhodecode_db_repo.enable_locking:
+ %if c.rhodecode_db_repo.locked[0]:
+
+ %else:
+
+ %endif
+ %endif
##REPO TYPE
%if h.is_hg(c.dbrepo):