Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
376e6987
Commit
376e6987
authored
Dec 18, 2014
by
Braden MacDonald
Committed by
E. Kolpakov
Jan 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the library key on the library view in Studio
parent
6f3b46c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
cms/static/sass/views/_container.scss
+3
-3
cms/templates/library.html
+10
-0
No files found.
cms/static/sass/views/_container.scss
View file @
376e6987
...
...
@@ -237,13 +237,13 @@
}
// location widget
.unit-location
{
.unit-location
,
.library-location
{
@extend
%bar-module
;
border-top
:
none
;
.wrapper-unit-id
{
.wrapper-unit-id
,
.wrapper-library-id
{
.unit-id-value
{
.unit-id-value
,
.library-id-value
{
@extend
%cont-text-wrap
;
@extend
%t-copy-sub1
;
display
:
inline-block
;
...
...
cms/templates/library.html
View file @
376e6987
...
...
@@ -55,6 +55,16 @@ from django.utils.translation import ugettext as _
</div>
</article>
<aside
class=
"content-supplementary"
role=
"complimentary"
>
<div
class=
"library-location"
>
<h4
class=
"bar-mod-title"
>
${_("Library ID")}
</h4>
<div
class=
"wrapper-library-id bar-mod-content"
>
<h5
class=
"title"
>
${_("Library ID")}
</h5>
<p
class=
"library-id"
>
<span
class=
"library-id-value"
>
${context_library.location.library_key | h}
</span>
<span
class=
"tip"
><span
class=
"sr"
>
${_("Tip:")}
</span>
${_("Use this ID when you want to add content from this library to a course using a Library Content component. You enter this ID in the Libraries field.")}
</span>
</p>
</div>
</div>
<div
class=
"bit"
>
<h3
class=
"title-3"
>
${_("Adding content components")}
</h3>
<p>
${_("You can add components to the library. Help text here.")}
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment